We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 192e57e + 7bfc0b9 commit 0963c7eCopy full SHA for 0963c7e
images/router/haproxy/conf/haproxy-config.template
@@ -68,6 +68,11 @@ defaults
68
{{ else }}
69
timeout http-request 10s
70
{{ end }}
71
+{{ if (matchPattern "[1-9][0-9]*(us|ms|s|m|h|d)?" (env "ROUTER_SLOWLORIS_HTTP_KEEPALIVE" "")) }}
72
+ timeout http-keep-alive {{env "ROUTER_SLOWLORIS_HTTP_KEEPALIVE" "" }}
73
+{{ else }}
74
+ timeout http-keep-alive 300s
75
+{{ end }}
76
77
# Long timeout for WebSocket connections.
78
{{ if (matchPattern "[1-9][0-9]*(us|ms|s|m|h|d)?" (env "ROUTER_DEFAULT_TUNNEL_TIMEOUT" "")) }}
0 commit comments