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

NameTypeDescription
timedurationLimit connection setup; system limits may be lower.

Working Example

Example Snippetnginx
grpc_connect_timeout 2s;
Nginx Reference