Stream proxy directives
proxy_connect_timeout (stream)
stream/server; default 60s; limit for upstream connection establishment.
Formal Syntax & Structure
nginx syntaxnginx
proxy_connect_timeout timeout;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| interval | duration | Maximum time allowed to establish upstream connection. |
Working Example
Example Snippetnginx
proxy_connect_timeout 1s;