use better defaults for proxy-next-upstream(-tries)

This commit is contained in:
Elvin Efendi 2018-05-22 16:10:58 -04:00
parent 0564c17d74
commit 7d8a0130a5
2 changed files with 4 additions and 4 deletions

View file

@ -610,8 +610,8 @@ func NewDefault() Configuration {
ProxyBufferSize: "4k",
ProxyCookieDomain: "off",
ProxyCookiePath: "off",
ProxyNextUpstream: "error timeout invalid_header http_502 http_503 http_504",
ProxyNextUpstreamTries: 0,
ProxyNextUpstream: "error timeout",
ProxyNextUpstreamTries: 3,
ProxyRequestBuffering: "on",
ProxyRedirectFrom: "off",
ProxyRedirectTo: "off",