Update haproxy.config
This commit is contained in:
@@ -83,8 +83,8 @@ listen haproxy__NGINX_http
|
|||||||
# 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
|
server 10.5.10.120 10.5.10.120:80 cookie s1 check
|
||||||
server 10.5.10.121 10.5.10.121:80 cookie s2
|
server 10.5.10.121 10.5.10.121:80 cookie s2 check
|
||||||
|
|
||||||
listen haproxy__NGINX_https
|
listen haproxy__NGINX_https
|
||||||
bind *:443
|
bind *:443
|
||||||
@@ -97,8 +97,8 @@ listen haproxy__NGINX_https
|
|||||||
# 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
|
server 10.5.10.120 10.5.10.120:443 cookie s1 check
|
||||||
server 10.5.10.121 10.5.10.121:443 cookie s2
|
server 10.5.10.121 10.5.10.121:443 cookie s2 check
|
||||||
|
|
||||||
listen haproxy__Gitea_http
|
listen haproxy__Gitea_http
|
||||||
bind *:3000
|
bind *:3000
|
||||||
@@ -111,5 +111,5 @@ listen haproxy__Gitea_http
|
|||||||
# 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
|
server 10.5.10.120 10.5.10.120:3000 cookie s1 check
|
||||||
server 10.5.10.121 10.5.10.121:3000 cookie s2 backup
|
server 10.5.10.121 10.5.10.121:3000 cookie s2 check backup
|
||||||
|
|||||||
Reference in New Issue
Block a user