proxy_next_upstream default

Tolga Ceylan tolga.ceylan at
Wed Dec 23 00:47:33 UTC 2015

Hi All,

According to documentation, default for proxy_next_upstream flag is
error + timeout + invalid_header
even if these are not specified:

However, looking at the ngx_http_proxy_module.c, I only see timeout/error
as merged/set:

This means documentation is incorrect, so if "invalid_header" is not
specified, nginx
will not consider such cases as "unsuccessful" attempts, right?

Tolga Ceylan

More information about the nginx-devel mailing list