HTTP gRPC directives
grpc_connect_timeout directive
http, server, location; default 60s. Bounds establishment of the upstream connection.
Formal Syntax & Structure
nginx syntaxnginx
grpc_connect_timeout time;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| time | duration | Limit connection setup; system limits may be lower. |
Working Example
Example Snippetnginx
grpc_connect_timeout 2s;