HTTP proxy directives
proxy_ssl_protocols directive
http/server/location. Protocol allowlist on upstream TLS leg; library support required.
Formal Syntax & Structure
nginx syntaxnginx
proxy_ssl_protocols [SSLv2] [SSLv3] [TLSv1] [TLSv1.1] [TLSv1.2] [TLSv1.3];Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| protocol | TLS protocol token (one or more) | List permitted TLS versions for origin connections; prefer TLSv1.2 and TLSv1.3 subject to policy. |
Working Example
Example Snippetnginx
proxy_ssl_protocols TLSv1.2 TLSv1.3;