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