HTTP proxy directives

proxy_ssl_server_name directive

http/server/location. Enables upstream TLS SNI; default off. Does not itself enable verification.

Formal Syntax & Structure

nginx syntaxnginx
proxy_ssl_server_name on | off;

Parameters & Attributes

NameTypeDescription
stateon | offSend the upstream TLS server name in SNI. Separate from certificate verification.

Working Example

Example Snippetnginx
proxy_ssl_server_name on;
Nginx Reference