Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1298:c459ca97c14d
Updated description of $proxy_host and $proxy_port variables.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Tue, 23 Sep 2014 14:32:03 +0400 |
parents | f5cc9f2aef9a |
children | 91a064bdb4f9 |
comparison
equal
deleted
inserted
replaced
1297:4eedb69b6156 | 1298:c459ca97c14d |
---|---|
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
9 | 9 |
10 <module name="Module ngx_http_proxy_module" | 10 <module name="Module ngx_http_proxy_module" |
11 link="/en/docs/http/ngx_http_proxy_module.html" | 11 link="/en/docs/http/ngx_http_proxy_module.html" |
12 lang="en" | 12 lang="en" |
13 rev="24"> | 13 rev="25"> |
14 | 14 |
15 <section id="summary"> | 15 <section id="summary"> |
16 | 16 |
17 <para> | 17 <para> |
18 The <literal>ngx_http_proxy_module</literal> module allows passing | 18 The <literal>ngx_http_proxy_module</literal> module allows passing |
1807 that can be used to compose headers using the | 1807 that can be used to compose headers using the |
1808 <link id="proxy_set_header"/> directive: | 1808 <link id="proxy_set_header"/> directive: |
1809 <list type="tag"> | 1809 <list type="tag"> |
1810 | 1810 |
1811 <tag-name id="var_proxy_host"><var>$proxy_host</var></tag-name> | 1811 <tag-name id="var_proxy_host"><var>$proxy_host</var></tag-name> |
1812 <tag-desc>name and port of a proxied server;</tag-desc> | 1812 <tag-desc>name and port of a proxied server as specified in the |
1813 <link id="proxy_pass"/> directive;</tag-desc> | |
1813 | 1814 |
1814 <tag-name id="var_proxy_port"><var>$proxy_port</var></tag-name> | 1815 <tag-name id="var_proxy_port"><var>$proxy_port</var></tag-name> |
1815 <tag-desc>port of a proxied server;</tag-desc> | 1816 <tag-desc>port of a proxied server as specified in the |
1817 <link id="proxy_pass"/> directive, or the protocol’s default port;</tag-desc> | |
1816 | 1818 |
1817 <tag-name id="var_proxy_add_x_forwarded_for"> | 1819 <tag-name id="var_proxy_add_x_forwarded_for"> |
1818 <var>$proxy_add_x_forwarded_for</var></tag-name> | 1820 <var>$proxy_add_x_forwarded_for</var></tag-name> |
1819 <tag-desc>the <header>X-Forwarded-For</header> client request header field | 1821 <tag-desc>the <header>X-Forwarded-For</header> client request header field |
1820 with the <var>$remote_addr</var> variable appended to it, separated by a comma. | 1822 with the <var>$remote_addr</var> variable appended to it, separated by a comma. |