mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-08 23:18:05 -05:00
rename_ha-proxy
This commit is contained in:
@@ -24,16 +24,16 @@ resolvers hostdns
|
|||||||
timeout retry 1s
|
timeout retry 1s
|
||||||
hold valid 5s
|
hold valid 5s
|
||||||
|
|
||||||
frontend master
|
frontend postgres_master
|
||||||
bind *:5433
|
bind *:5433
|
||||||
default_backend master_backend
|
default_backend postgres_master_backend
|
||||||
|
|
||||||
frontend replicas
|
frontend postgres_replicas
|
||||||
bind *:5434
|
bind *:5434
|
||||||
default_backend replica_backend
|
default_backend postgres_replica_backend
|
||||||
|
|
||||||
|
|
||||||
backend master_backend
|
backend postgres_master_backend
|
||||||
option httpchk GET /master
|
option httpchk GET /master
|
||||||
http-check expect status 200
|
http-check expect status 200
|
||||||
default-server inter 3s fall 3 rise 2 on-marked-down shutdown-sessions
|
default-server inter 3s fall 3 rise 2 on-marked-down shutdown-sessions
|
||||||
@@ -41,7 +41,7 @@ backend master_backend
|
|||||||
server postgres-2 postgres-2:5432 check port 8008 resolvers hostdns
|
server postgres-2 postgres-2:5432 check port 8008 resolvers hostdns
|
||||||
server postgres-3 postgres-3:5432 check port 8008 resolvers hostdns
|
server postgres-3 postgres-3:5432 check port 8008 resolvers hostdns
|
||||||
|
|
||||||
backend replica_backend
|
backend postgres_replica_backend
|
||||||
option httpchk GET /replica
|
option httpchk GET /replica
|
||||||
http-check expect status 200
|
http-check expect status 200
|
||||||
default-server inter 3s fall 3 rise 2 on-marked-down shutdown-sessions
|
default-server inter 3s fall 3 rise 2 on-marked-down shutdown-sessions
|
||||||
@@ -50,11 +50,11 @@ backend replica_backend
|
|||||||
server postgres-3 postgres-3:5432 check port 8008 resolvers hostdns
|
server postgres-3 postgres-3:5432 check port 8008 resolvers hostdns
|
||||||
|
|
||||||
|
|
||||||
frontend redis_frontend
|
frontend redis_master_frontend
|
||||||
bind *:6379
|
bind *:6379
|
||||||
default_backend redis_backend
|
default_backend redis_master_backend
|
||||||
|
|
||||||
backend redis_backend
|
backend redis_master_backend
|
||||||
option tcp-check
|
option tcp-check
|
||||||
tcp-check send AUTH\ 123456\r\n
|
tcp-check send AUTH\ 123456\r\n
|
||||||
tcp-check expect string +OK
|
tcp-check expect string +OK
|
||||||
|
|||||||
Reference in New Issue
Block a user