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: '' ...@@ -2,3 +2,6 @@ default_proxy: ''
proxy_default_backend: '' proxy_default_backend: ''
proxy_certificates: [] proxy_certificates: []
proxy_blacklist_ips: [] proxy_blacklist_ips: []
proxy_timeout_connect: '5s'
proxy_timeout_client: '20s'
proxy_timeout_server: '45s'
...@@ -16,9 +16,9 @@ defaults ...@@ -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 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 mode http
option dontlognull option dontlognull
timeout connect 5s timeout connect {{ proxy_timeout_connect }}
timeout client 20s timeout client {{ proxy_timeout_client }}
timeout server 45s timeout server {{ proxy_timeout_server }}
timeout check 1s timeout check 1s
timeout http-keep-alive 3s timeout http-keep-alive 3s
timeout http-request 10s # slowloris protection 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