From 75235785fe938a574230ca377c49c787e173b609 Mon Sep 17 00:00:00 2001 From: gyurix Date: Fri, 24 Jun 2022 07:21:49 +0000 Subject: [PATCH] Wrong haproxy timeout definitions correcting. --- scripts/haproxy_template.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/haproxy_template.cfg b/scripts/haproxy_template.cfg index fcd9fd9..3fa3185 100644 --- a/scripts/haproxy_template.cfg +++ b/scripts/haproxy_template.cfg @@ -5,8 +5,9 @@ defaults option redispatch option http-server-close log global - proxy_connect_timeout 300; - proxy_send_timeout 300; - proxy_read_timeout 300; - proxy_next_upstream off; + timeout connect 5s + timeout client 24h + timeout server 24h + option srvtcpka + option clitcpka