diff xml/en/docs/http/ngx_http_core_module.xml @ 1704:792478434bb1

Documented the $proxy_protocol_port variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 24 May 2016 20:19:12 +0300
parents 6c96a644b0b3
children 737c86e8b316
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_core_module.xml
+++ b/xml/en/docs/http/ngx_http_core_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_core_module"
         link="/en/docs/http/ngx_http_core_module.html"
         lang="en"
-        rev="56">
+        rev="57">
 
 <section id="directives" name="Directives">
 
@@ -2986,6 +2986,17 @@ in the <link id="listen"/> directive.
 </para>
 </tag-desc>
 
+<tag-name id="var_proxy_protocol_port"><var>$proxy_protocol_port</var></tag-name>
+<tag-desc>
+client port from the PROXY protocol header, or an empty string otherwise
+(1.11.0)
+<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>