Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_core_module.xml @ 2457:3896055c397e
Fixed descriptions of $proxy_protocol_addr and $proxy_protocol_port.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Thu, 31 Oct 2019 15:35:51 +0300 |
parents | 4487310de7e7 |
children | 9cd5883ac546 |
comparison
equal
deleted
inserted
replaced
2456:de4f8f3d1fd6 | 2457:3896055c397e |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_core_module" | 10 <module name="Module ngx_http_core_module" |
11 link="/en/docs/http/ngx_http_core_module.html" | 11 link="/en/docs/http/ngx_http_core_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="87"> | 13 rev="88"> |
14 | 14 |
15 <section id="directives" name="Directives"> | 15 <section id="directives" name="Directives"> |
16 | 16 |
17 <directive name="absolute_redirect"> | 17 <directive name="absolute_redirect"> |
18 <syntax><literal>on</literal> | <literal>off</literal></syntax> | 18 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
3112 otherwise (1.3.12, 1.2.7) | 3112 otherwise (1.3.12, 1.2.7) |
3113 </tag-desc> | 3113 </tag-desc> |
3114 | 3114 |
3115 <tag-name id="var_proxy_protocol_addr"><var>$proxy_protocol_addr</var></tag-name> | 3115 <tag-name id="var_proxy_protocol_addr"><var>$proxy_protocol_addr</var></tag-name> |
3116 <tag-desc> | 3116 <tag-desc> |
3117 client address from the PROXY protocol header, or an empty string otherwise | 3117 client address from the PROXY protocol header (1.5.12) |
3118 (1.5.12) | |
3119 <para> | 3118 <para> |
3120 The PROXY protocol must be previously enabled by setting the | 3119 The PROXY protocol must be previously enabled by setting the |
3121 <literal>proxy_protocol</literal> parameter | 3120 <literal>proxy_protocol</literal> parameter |
3122 in the <link id="listen"/> directive. | 3121 in the <link id="listen"/> directive. |
3123 </para> | 3122 </para> |
3124 </tag-desc> | 3123 </tag-desc> |
3125 | 3124 |
3126 <tag-name id="var_proxy_protocol_port"><var>$proxy_protocol_port</var></tag-name> | 3125 <tag-name id="var_proxy_protocol_port"><var>$proxy_protocol_port</var></tag-name> |
3127 <tag-desc> | 3126 <tag-desc> |
3128 client port from the PROXY protocol header, or an empty string otherwise | 3127 client port from the PROXY protocol header (1.11.0) |
3129 (1.11.0) | |
3130 <para> | 3128 <para> |
3131 The PROXY protocol must be previously enabled by setting the | 3129 The PROXY protocol must be previously enabled by setting the |
3132 <literal>proxy_protocol</literal> parameter | 3130 <literal>proxy_protocol</literal> parameter |
3133 in the <link id="listen"/> directive. | 3131 in the <link id="listen"/> directive. |
3134 </para> | 3132 </para> |