Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1155:07402a11fd8d
Assigned IDs to tags describing variables.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Wed, 16 Apr 2014 13:55:53 +0400 |
parents | 4e20e4f8f49b |
children | 1d299c6f7c49 |
comparison
equal
deleted
inserted
replaced
1154:b0e56cc57867 | 1155:07402a11fd8d |
---|---|
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="17"> | 13 rev="18"> |
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 |
1656 The <literal>ngx_http_proxy_module</literal> module supports embedded variables | 1656 The <literal>ngx_http_proxy_module</literal> module supports embedded variables |
1657 that can be used to compose headers using the | 1657 that can be used to compose headers using the |
1658 <link id="proxy_set_header"/> directive: | 1658 <link id="proxy_set_header"/> directive: |
1659 <list type="tag"> | 1659 <list type="tag"> |
1660 | 1660 |
1661 <tag-name><var>$proxy_host</var></tag-name> | 1661 <tag-name id="var_proxy_host"><var>$proxy_host</var></tag-name> |
1662 <tag-desc>name and port of a proxied server;</tag-desc> | 1662 <tag-desc>name and port of a proxied server;</tag-desc> |
1663 | 1663 |
1664 <tag-name><var>$proxy_port</var></tag-name> | 1664 <tag-name id="var_proxy_port"><var>$proxy_port</var></tag-name> |
1665 <tag-desc>port of a proxied server;</tag-desc> | 1665 <tag-desc>port of a proxied server;</tag-desc> |
1666 | 1666 |
1667 <tag-name><var>$proxy_add_x_forwarded_for</var></tag-name> | 1667 <tag-name id="var_proxy_add_x_forwarded_for"> |
1668 <var>$proxy_add_x_forwarded_for</var></tag-name> | |
1668 <tag-desc>the <header>X-Forwarded-For</header> client request header field | 1669 <tag-desc>the <header>X-Forwarded-For</header> client request header field |
1669 with the <var>$remote_addr</var> variable appended to it, separated by a comma. | 1670 with the <var>$remote_addr</var> variable appended to it, separated by a comma. |
1670 If the <header>X-Forwarded-For</header> field is not present in the client | 1671 If the <header>X-Forwarded-For</header> field is not present in the client |
1671 request header, the <var>$proxy_add_x_forwarded_for</var> variable is equal | 1672 request header, the <var>$proxy_add_x_forwarded_for</var> variable is equal |
1672 to the <var>$remote_addr</var> variable.</tag-desc> | 1673 to the <var>$remote_addr</var> variable.</tag-desc> |