Update haproxy.config

This commit is contained in:
2019-03-07 08:56:34 -06:00
parent 5229fac41b
commit 6028f91084

View File

@@ -83,9 +83,9 @@ listen NGINX_http
# 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.121 10.5.10.121:80 cookie s1 check port 80
server 10.5.10.122 10.5.10.122:80 cookie s2 check port 80
server 10.5.10.123 10.5.10.123:80 cookie s3 check port 80 backup
server 10.5.10.121 10.5.10.121:8080 cookie s1 check port 8080
server 10.5.10.122 10.5.10.122:8080 cookie s2 check port 8080
server 10.5.10.123 10.5.10.123:8080 cookie s3 check port 8080 backup
listen NGINX_https
bind *:443
@@ -98,12 +98,12 @@ listen NGINX_https
# 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.121 10.5.10.121:443 cookie s1 check port 443
server 10.5.10.122 10.5.10.122:443 cookie s2 check port 443
server 10.5.10.123 10.5.10.123:443 cookie s3 check port 443 backup
server 10.5.10.121 10.5.10.121:8443 cookie s1 check port 8443
server 10.5.10.122 10.5.10.122:8443 cookie s2 check port 8443
server 10.5.10.123 10.5.10.123:8443 cookie s3 check port 8443 backup
listen Gitea
bind *:3000
bind *:3001
mode tcp
timeout client 10800s
timeout server 10800s