Update haproxy.config
This commit is contained in:
@@ -51,7 +51,7 @@ listen haproxy_MySQL_3307_rw
|
|||||||
tcp-check expect string is\ running
|
tcp-check expect string is\ running
|
||||||
balance leastconn
|
balance leastconn
|
||||||
option tcp-check
|
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
|
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.51 10.5.10.51:3306 check
|
||||||
server 10.5.10.52 10.5.10.52:3306 check backup
|
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
|
tcp-check expect string is\ running
|
||||||
balance leastconn
|
balance leastconn
|
||||||
option tcp-check
|
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
|
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.51 10.5.10.51:3306 check
|
||||||
server 10.5.10.52 10.5.10.52: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
|
# tcp-check expect string is\ running
|
||||||
balance leastconn
|
balance leastconn
|
||||||
option tcp-check
|
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
|
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
|
cookie SERVERUSED insert indirect nocache
|
||||||
server 10.5.10.120 10.5.10.120:80 cookie s1 check
|
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
|
# tcp-check expect string is\ running
|
||||||
balance leastconn
|
balance leastconn
|
||||||
option tcp-check
|
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
|
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
|
cookie SERVERUSED insert indirect nocache
|
||||||
server 10.5.10.120 10.5.10.120:443 cookie s1 check
|
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
|
# tcp-check expect string is\ running
|
||||||
balance leastconn
|
balance leastconn
|
||||||
option tcp-check
|
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
|
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
|
cookie SERVERUSED insert indirect nocache
|
||||||
server 10.5.10.120 10.5.10.120:3000 cookie s1 check
|
server 10.5.10.120 10.5.10.120:3000 cookie s1 check
|
||||||
|
|||||||
Reference in New Issue
Block a user