We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ac6923 commit 527899eCopy full SHA for 527899e
images/router/haproxy/conf/haproxy-config.template
@@ -39,7 +39,12 @@ defaults
39
option httplog
40
log global
41
{{ end }}
42
- timeout http-request {{env "ROUTER_SLOWLORIS_TIMEOUT" "10s" }}
+{{ if (matchPattern "[1-9][0-9]*(us|ms|s|m|h|d)?" (env "ROUTER_SLOWLORIS_TIMEOUT" "")) }}
43
+ timeout http-request {{env "ROUTER_SLOWLORIS_TIMEOUT" "" }}
44
+{{ else }}
45
+ timeout http-request 10s
46
+{{ end }}
47
+ timeout http-keep-alive 30s
48
timeout connect 5s
49
timeout client 30s
50
timeout server 30s
0 commit comments