HTTP gRPC directives

grpc_ssl_server_name directive

http, server, location; default off. Enables SNI on the TLS upstream hop.

Formal Syntax & Structure

nginx syntaxnginx
grpc_ssl_server_name on | off;

Parameters & Attributes

NameTypeDescription
stateon | offSend SNI to the TLS backend; this alone does not authenticate it.

Working Example

Example Snippetnginx
grpc_ssl_server_name on;
Nginx Reference