changeset 2458:9cd5883ac546

Documented $proxy_protocol_server_addr, $proxy_protocol_server_port.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 31 Oct 2019 15:36:34 +0300
parents 3896055c397e
children 2aad23d07d96
files xml/en/docs/http/ngx_http_core_module.xml xml/en/docs/stream/ngx_stream_core_module.xml xml/ru/docs/http/ngx_http_core_module.xml xml/ru/docs/stream/ngx_stream_core_module.xml
diffstat 4 files changed, 80 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml	Thu Oct 31 15:35:51 2019 +0300
+++ b/xml/en/docs/http/ngx_http_core_module.xml	Thu Oct 31 15:36:34 2019 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="88">
+        rev="89">
 
 <section id="directives" name="Directives">
 
@@ -3132,6 +3132,26 @@
 </para>
 </tag-desc>
 
+<tag-name id="var_proxy_protocol_server_addr"><var>$proxy_protocol_server_addr</var></tag-name>
+<tag-desc>
+server address from the PROXY protocol header (1.17.6)
+<para>
+The PROXY protocol must be previously enabled by setting the
+<literal>proxy_protocol</literal> parameter
+in the <link id="listen"/> directive.
+</para>
+</tag-desc>
+
+<tag-name id="var_proxy_protocol_server_port"><var>$proxy_protocol_server_port</var></tag-name>
+<tag-desc>
+server port from the PROXY protocol header (1.17.6)
+<para>
+The PROXY protocol must be previously enabled by setting the
+<literal>proxy_protocol</literal> parameter
+in the <link id="listen"/> directive.
+</para>
+</tag-desc>
+
 <tag-name id="var_query_string"><var>$query_string</var></tag-name>
 <tag-desc>
 same as <var>$args</var>
--- a/xml/en/docs/stream/ngx_stream_core_module.xml	Thu Oct 31 15:35:51 2019 +0300
+++ b/xml/en/docs/stream/ngx_stream_core_module.xml	Thu Oct 31 15:36:34 2019 +0300
@@ -9,7 +9,7 @@
 <module name="Module ngx_stream_core_module"
         link="/en/docs/stream/ngx_stream_core_module.html"
         lang="en"
-        rev="30">
+        rev="31">
 
 <section id="summary">
 
@@ -540,6 +540,26 @@
 </para>
 </tag-desc>
 
+<tag-name id="var_proxy_protocol_server_addr"><var>$proxy_protocol_server_addr</var></tag-name>
+<tag-desc>
+server address from the PROXY protocol header (1.17.6)
+<para>
+The PROXY protocol must be previously enabled by setting the
+<literal>proxy_protocol</literal> parameter
+in the <link id="listen"/> directive.
+</para>
+</tag-desc>
+
+<tag-name id="var_proxy_protocol_server_port"><var>$proxy_protocol_server_port</var></tag-name>
+<tag-desc>
+server port from the PROXY protocol header (1.17.6)
+<para>
+The PROXY protocol must be previously enabled by setting the
+<literal>proxy_protocol</literal> parameter
+in the <link id="listen"/> directive.
+</para>
+</tag-desc>
+
 <tag-name id="var_remote_addr"><var>$remote_addr</var></tag-name>
 <tag-desc>
 client address
--- a/xml/ru/docs/http/ngx_http_core_module.xml	Thu Oct 31 15:35:51 2019 +0300
+++ b/xml/ru/docs/http/ngx_http_core_module.xml	Thu Oct 31 15:36:34 2019 +0300
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_core_module"
         link="/ru/docs/http/ngx_http_core_module.html"
         lang="ru"
-        rev="88">
+        rev="89">
 
 <section id="directives" name="Директивы">
 
@@ -3129,6 +3129,24 @@
 </para>
 </tag-desc>
 
+<tag-name id="var_proxy_protocol_server_addr"><var>$proxy_protocol_server_addr</var></tag-name>
+<tag-desc>
+адрес сервера, полученный из заголовка протокола PROXY (1.17.6)
+<para>
+Протокол PROXY должен быть предварительно включён при помощи установки
+параметра <literal>proxy_protocol</literal> в директиве <link id="listen"/>.
+</para>
+</tag-desc>
+
+<tag-name id="var_proxy_protocol_server_port"><var>$proxy_protocol_server_port</var></tag-name>
+<tag-desc>
+порт сервера, полученный из заголовка протокола PROXY (1.17.6)
+<para>
+Протокол PROXY должен быть предварительно включён при помощи установки
+параметра <literal>proxy_protocol</literal> в директиве <link id="listen"/>.
+</para>
+</tag-desc>
+
 <tag-name id="var_query_string"><var>$query_string</var></tag-name>
 <tag-desc>
 то же, что и <var>$args</var>
--- a/xml/ru/docs/stream/ngx_stream_core_module.xml	Thu Oct 31 15:35:51 2019 +0300
+++ b/xml/ru/docs/stream/ngx_stream_core_module.xml	Thu Oct 31 15:36:34 2019 +0300
@@ -9,7 +9,7 @@
 <module name="Модуль ngx_stream_core_module"
         link="/ru/docs/stream/ngx_stream_core_module.html"
         lang="ru"
-        rev="30">
+        rev="31">
 
 <section id="summary">
 
@@ -546,6 +546,24 @@
 </para>
 </tag-desc>
 
+<tag-name id="var_proxy_protocol_server_addr"><var>$proxy_protocol_server_addr</var></tag-name>
+<tag-desc>
+адрес сервера, полученный из заголовка протокола PROXY (1.17.6)
+<para>
+Протокол PROXY должен быть предварительно включён при помощи установки
+параметра <literal>proxy_protocol</literal> в директиве <link id="listen"/>.
+</para>
+</tag-desc>
+
+<tag-name id="var_proxy_protocol_server_port"><var>$proxy_protocol_server_port</var></tag-name>
+<tag-desc>
+порт сервера, полученный из заголовка протокола PROXY (1.17.6)
+<para>
+Протокол PROXY должен быть предварительно включён при помощи установки
+параметра <literal>proxy_protocol</literal> в директиве <link id="listen"/>.
+</para>
+</tag-desc>
+
 <tag-name id="var_remote_addr"><var>$remote_addr</var></tag-name>
 <tag-desc>
 адрес клиента