From 3c92bbece5acfb638e820894a0999386e29aa6ca Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 31 Mar 2016 08:59:31 +0200 Subject: [PATCH] Optimize timeouts --- templates/haproxy_cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg index edd99a8..b37ab24 100644 --- a/templates/haproxy_cfg +++ b/templates/haproxy_cfg @@ -18,9 +18,9 @@ defaults option dontlognull timeout connect 5s timeout client 20s - timeout server 15s + timeout server 45s timeout check 1s - timeout http-keep-alive 1s + timeout http-keep-alive 3s timeout http-request 10s # slowloris protection default-server inter 3s fall 2 rise 2 slowstart 60s errorfile 400 /etc/haproxy/errors/400.http -- GitLab