Skip to content
Snippets Groups Projects
Commit e8bd4813 authored by jurgenhaas's avatar jurgenhaas
Browse files

Make timeouts configurable

parent 3c92bbec
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,6 @@ default_proxy: ''
proxy_default_backend: ''
proxy_certificates: []
proxy_blacklist_ips: []
proxy_timeout_connect: '5s'
proxy_timeout_client: '20s'
proxy_timeout_server: '45s'
......@@ -16,9 +16,9 @@ defaults
log-format %ci:%cp\ [%T]\ %ft\ %b/%s\ %Tq/%Tw/%Tc/%Tr/%Tt\ %ST\ %B\ %CC\ %CS\ %tsc\ %ac/%fc/%bc/%sc/%rc\ %sq/%bq\ %hr\ %hs\ %{+Q}r
mode http
option dontlognull
timeout connect 5s
timeout client 20s
timeout server 45s
timeout connect {{ proxy_timeout_connect }}
timeout client {{ proxy_timeout_client }}
timeout server {{ proxy_timeout_server }}
timeout check 1s
timeout http-keep-alive 3s
timeout http-request 10s # slowloris protection
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment