diff --git a/templates/haproxy.config b/templates/haproxy.config index fd720ab9..83d4901f 100755 --- a/templates/haproxy.config +++ b/templates/haproxy.config @@ -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