diff --git a/xml/en/docs/stream/ngx_stream_proxy_module.xml b/xml/en/docs/stream/ngx_stream_proxy_module.xml index 83f2d9b5..fb4cfee6 100644 --- a/xml/en/docs/stream/ngx_stream_proxy_module.xml +++ b/xml/en/docs/stream/ngx_stream_proxy_module.xml @@ -9,7 +9,7 @@ + rev="38">
@@ -414,6 +414,48 @@ Enables the SSL/TLS protocol for connections to a proxied server. + +on | off +on +stream +server + + +Enables or disables sending the +ALPN +extension when establishing a connection with the proxied server. +When enabled and + is not set, +the protocol negotiated on the downstream SSL connection is inherited +and offered to the upstream. +If no ALPN was negotiated downstream, no ALPN extension is sent upstream. + + + + + + +protocol ... + +stream +server + + +Specifies the list of protocols to advertise via the +ALPN +extension when establishing a connection with the proxied server. +For example: + +proxy_ssl_alpn_protocols h2 http/1.1; + +When set, this list takes precedence over the downstream negotiated protocol. +If is off, +this directive is ignored. + + + + + file