Update haproxy.config
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user