proxy_next_upstream default

Tolga Ceylan tolga.ceylan at gmail.com
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:

http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_next_upstream

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

https://github.com/nginx/nginx/blob/master/src/http/modules/ngx_http_proxy_module.c#L3065

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

Regards,
Tolga Ceylan



More information about the nginx-devel mailing list