HTTP proxy directives
proxy_next_upstream_timeout directive (HTTP proxy)
HTTP, server, location contexts. Since 1.7.5; default 0 disables this time bound. Limits eligibility to move to another server, not total completion time.
Formal Syntax & Structure
nginx syntaxnginx
proxy_next_upstream_timeout time;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| time | duration | Limits retry window; zero removes this bound, not a total request deadline. |
Working Example
Example Snippetnginx
proxy_next_upstream_timeout 3s;