From ff8beea3c40c147f43f2110441c6758a9f156a72 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Fri, 17 Apr 2020 23:04:20 +0100 Subject: [PATCH] Massively increase timeouts to prevent websocket issues --- ansible/roles/gateway/files/haproxy.cfg | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ansible/roles/gateway/files/haproxy.cfg b/ansible/roles/gateway/files/haproxy.cfg index bb6c39d..f93ad57 100644 --- a/ansible/roles/gateway/files/haproxy.cfg +++ b/ansible/roles/gateway/files/haproxy.cfg @@ -25,10 +25,10 @@ defaults listen https bind *:443 mode tcp - timeout http-request 60s - timeout connect 10s - timeout client 10s - timeout server 10s + timeout http-request 10m + timeout connect 10m + timeout client 10m + timeout server 10m server default {{ wireguard.clients.intersect.ip }}:443 send-proxy listen http @@ -37,10 +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 + timeout http-request 10m + timeout connect 10m + timeout client 10m + timeout server 10m server default {{ wireguard.clients.intersect.ip }}:80 check {% for port in haproxy.exposed_ports %}