From 9b629f428a4136db69a8b0a6572e708a7ed4379f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Fri, 8 Mar 2019 00:29:30 -0600 Subject: [PATCH] Update haproxy.config --- templates/haproxy.config | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/haproxy.config b/templates/haproxy.config index 83d4901f..d56d4d5d 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: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 + server 10.5.10.121 10.5.10.121:80 cookie s1 check port 80 send-proxy + server 10.5.10.122 10.5.10.122:80 cookie s2 check port 80 send-proxy + server 10.5.10.123 10.5.10.123:80 cookie s3 check port 80 send-proxy 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: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 + server 10.5.10.121 10.5.10.121:443 cookie s1 check port 443 send-proxy + server 10.5.10.122 10.5.10.122:443 cookie s2 check port 443 send-proxy + server 10.5.10.123 10.5.10.123:443 cookie s3 check port 443 send-proxy backup listen Gitea - bind *:3001 + bind *:3000 mode tcp timeout client 10800s timeout server 10800s