From 4f5eaa3fd5de5671dc7388c96307cb52175eb8a9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 3 Mar 2019 23:43:58 -0600 Subject: [PATCH] Update haproxy.config --- templates/haproxy.config | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/templates/haproxy.config b/templates/haproxy.config index 1a3014b4..27371347 100755 --- a/templates/haproxy.config +++ b/templates/haproxy.config @@ -100,14 +100,10 @@ listen NGINX_SSL listen Gitea bind *:3000 -    mode http +    mode tcp     balance leastconn     cookie SERVERID maxidle 30m maxlife 12h insert nocache indirect #     server backup 127.0.0.1:9081 backup non-stick -    option http-keep-alive -    timeout http-request 5s -    option forwardfor -    option redispatch     server iDS-Webserver1-SSL 10.5.10.120:443 weight 250 cookie iDS-Webserver1-SSL check port 3000 on-marked-down shutdown-sessions     server iDS-Webserver2-SSL 10.5.10.121:443 weight 100 cookie iDS-Webserver2-SSL check port 3000 on-marked-down shutdown-sessions backup