changeset 2789:d16409187314

Documented the $ssl_alpn_protocol variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Mon, 01 Nov 2021 21:06:06 +0000
parents 03b49685c056
children a281f61b5ad8
files xml/en/docs/http/ngx_http_ssl_module.xml xml/en/docs/stream/ngx_stream_ssl_module.xml xml/ru/docs/http/ngx_http_ssl_module.xml xml/ru/docs/stream/ngx_stream_ssl_module.xml
diffstat 4 files changed, 28 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_ssl_module.xml	Tue Oct 12 20:51:19 2021 +0100
+++ b/xml/en/docs/http/ngx_http_ssl_module.xml	Mon Nov 01 21:06:06 2021 +0000
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_ssl_module"
         link="/en/docs/http/ngx_http_ssl_module.html"
         lang="en"
-        rev="54">
+        rev="55">
 
 <section id="summary">
 
@@ -986,6 +986,12 @@
 embedded variables:
 <list type="tag">
 
+<tag-name id="var_ssl_alpn_protocol"><var>$ssl_alpn_protocol</var></tag-name>
+<tag-desc>
+returns the protocol selected by ALPN during the SSL handshake,
+or an empty string otherwise (1.21.4);
+</tag-desc>
+
 <tag-name id="var_ssl_cipher"><var>$ssl_cipher</var></tag-name>
 <tag-desc>
 returns the name of the cipher used
--- a/xml/en/docs/stream/ngx_stream_ssl_module.xml	Tue Oct 12 20:51:19 2021 +0100
+++ b/xml/en/docs/stream/ngx_stream_ssl_module.xml	Mon Nov 01 21:06:06 2021 +0000
@@ -9,7 +9,7 @@
 <module name="Module ngx_stream_ssl_module"
         link="/en/docs/stream/ngx_stream_ssl_module.html"
         lang="en"
-        rev="25">
+        rev="26">
 
 <section id="summary">
 
@@ -639,6 +639,12 @@
 since 1.11.2.
 <list type="tag">
 
+<tag-name id="var_ssl_alpn_protocol"><var>$ssl_alpn_protocol</var></tag-name>
+<tag-desc>
+returns the protocol selected by ALPN during the SSL handshake,
+or an empty string otherwise (1.21.4);
+</tag-desc>
+
 <tag-name id="var_ssl_cipher"><var>$ssl_cipher</var></tag-name>
 <tag-desc>
 returns the name of the cipher used
--- a/xml/ru/docs/http/ngx_http_ssl_module.xml	Tue Oct 12 20:51:19 2021 +0100
+++ b/xml/ru/docs/http/ngx_http_ssl_module.xml	Mon Nov 01 21:06:06 2021 +0000
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_ssl_module"
         link="/ru/docs/http/ngx_http_ssl_module.html"
         lang="ru"
-        rev="54">
+        rev="55">
 
 <section id="summary">
 
@@ -993,6 +993,12 @@
 встроенные переменные:
 <list type="tag">
 
+<tag-name id="var_ssl_alpn_protocol"><var>$ssl_alpn_protocol</var></tag-name>
+<tag-desc>
+возвращает протокол, выбранный при помощи ALPN во время операции SSL handshake,
+либо пустую строку (1.21.4);
+</tag-desc>
+
 <tag-name id="var_ssl_cipher"><var>$ssl_cipher</var></tag-name>
 <tag-desc>
 возвращает название используемого шифра для установленного SSL-соединения;
--- a/xml/ru/docs/stream/ngx_stream_ssl_module.xml	Tue Oct 12 20:51:19 2021 +0100
+++ b/xml/ru/docs/stream/ngx_stream_ssl_module.xml	Mon Nov 01 21:06:06 2021 +0000
@@ -9,7 +9,7 @@
 <module name="Модуль ngx_stream_ssl_module"
         link="/ru/docs/stream/ngx_stream_ssl_module.html"
         lang="ru"
-        rev="25">
+        rev="26">
 
 <section id="summary">
 
@@ -643,6 +643,12 @@
 начиная с версии 1.11.2.
 <list type="tag">
 
+<tag-name id="var_ssl_alpn_protocol"><var>$ssl_alpn_protocol</var></tag-name>
+<tag-desc>
+возвращает протокол, выбранный при помощи ALPN во время операции SSL handshake,
+либо пустую строку (1.21.4);
+</tag-desc>
+
 <tag-name id="var_ssl_cipher"><var>$ssl_cipher</var></tag-name>
 <tag-desc>
 возвращает название используемого шифра для установленного SSL-соединения;