Update haproxy.config

This commit is contained in:
2019-03-03 11:47:23 -06:00
parent bd42e57027
commit 8d1c7d5019

View File

@@ -51,7 +51,7 @@ listen haproxy_MySQL_3307_rw
tcp-check expect string is\ running
balance leastconn
option tcp-check
# option allbackups
# option allbackups
default-server port 9200 inter 2s downinter 5s rise 3 fall 2 slowstart 60s maxconn 64 maxqueue 128 weight 100
server 10.5.10.51 10.5.10.51:3306 check
server 10.5.10.52 10.5.10.52:3306 check backup
@@ -66,7 +66,7 @@ listen haproxy_MySQL_3308_ro
tcp-check expect string is\ running
balance leastconn
option tcp-check
# option allbackups
# option allbackups
default-server port 9200 inter 2s downinter 5s rise 3 fall 2 slowstart 60s maxconn 64 maxqueue 128 weight 100
server 10.5.10.51 10.5.10.51:3306 check
server 10.5.10.52 10.5.10.52:3306 check
@@ -80,7 +80,7 @@ listen haproxy__NGINX_http
# tcp-check expect string is\ running
balance leastconn
option tcp-check
# option allbackups
# option allbackups
default-server port 9200 inter 2s downinter 5s rise 3 fall 2 slowstart 60s maxconn 64 maxqueue 128 weight 100
cookie SERVERUSED insert indirect nocache
server 10.5.10.120 10.5.10.120:80 cookie s1 check
@@ -94,7 +94,7 @@ listen haproxy__NGINX_https
# tcp-check expect string is\ running
balance leastconn
option tcp-check
# option allbackups
# option allbackups
default-server port 9200 inter 2s downinter 5s rise 3 fall 2 slowstart 60s maxconn 64 maxqueue 128 weight 100
cookie SERVERUSED insert indirect nocache
server 10.5.10.120 10.5.10.120:443 cookie s1 check
@@ -108,7 +108,7 @@ listen haproxy__Gitea_http
# tcp-check expect string is\ running
balance leastconn
option tcp-check
# option allbackups
# option allbackups
default-server port 9200 inter 2s downinter 5s rise 3 fall 2 slowstart 60s maxconn 64 maxqueue 128 weight 100
cookie SERVERUSED insert indirect nocache
server 10.5.10.120 10.5.10.120:3000 cookie s1 check