diff --git a/templates/haproxy_cfg b/templates/haproxy_cfg
index edd99a8ca3f1bd250d08450575808c473d485b16..b37ab24106f8f9fd53d3383956ea24bfb6704f0a 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