Only add timeout for core HTTP ports
This commit is contained in:
parent
335992c9e9
commit
f32e0bfe59
1 changed files with 8 additions and 4 deletions
|
@ -14,10 +14,6 @@ defaults
|
|||
mode http
|
||||
option httplog
|
||||
option dontlognull
|
||||
timeout http-request 60s
|
||||
timeout connect 10s
|
||||
timeout client 10s
|
||||
timeout server 10s
|
||||
errorfile 400 /etc/haproxy/errors/400.http
|
||||
errorfile 403 /etc/haproxy/errors/403.http
|
||||
errorfile 408 /etc/haproxy/errors/408.http
|
||||
|
@ -29,6 +25,10 @@ defaults
|
|||
listen https
|
||||
bind *:443
|
||||
mode tcp
|
||||
timeout http-request 60s
|
||||
timeout connect 10s
|
||||
timeout client 10s
|
||||
timeout server 10s
|
||||
server default {{ wireguard.clients.intersect.ip }}:443 send-proxy
|
||||
|
||||
listen http
|
||||
|
@ -37,6 +37,10 @@ listen http
|
|||
stats show-node
|
||||
stats uri /haproxy
|
||||
stats auth stats:{{ haproxy.stats_pass }}
|
||||
timeout http-request 60s
|
||||
timeout connect 10s
|
||||
timeout client 10s
|
||||
timeout server 10s
|
||||
server default {{ wireguard.clients.intersect.ip }}:80 check
|
||||
|
||||
{% for port in haproxy.exposed_ports %}
|
||||
|
|
Loading…
Reference in a new issue