Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 2593:eeed494bba51
Unified phrases about configuration levels and inheritance.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Mon, 21 Sep 2020 15:45:07 +0300 |
parents | a5bbfdf88bbd |
children | 361a28cca097 |
comparison
equal
deleted
inserted
replaced
2592:fca42223b9fc | 2593:eeed494bba51 |
---|---|
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="66"> | 13 rev="67"> |
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 |
1790 | 1790 |
1791 <para> | 1791 <para> |
1792 Allows redefining or appending fields to the request header | 1792 Allows redefining or appending fields to the request header |
1793 <link id="proxy_pass_request_headers">passed</link> to the proxied server. | 1793 <link id="proxy_pass_request_headers">passed</link> to the proxied server. |
1794 The <value>value</value> can contain text, variables, and their combinations. | 1794 The <value>value</value> can contain text, variables, and their combinations. |
1795 These directives are inherited from the previous level if and | 1795 These directives are inherited from the previous configuration level |
1796 only if there are no | 1796 if and only if there are no <literal>proxy_set_header</literal> directives |
1797 <literal>proxy_set_header</literal> | 1797 defined on the current level. |
1798 directives defined on the current level. | |
1799 By default, only two fields are redefined: | 1798 By default, only two fields are redefined: |
1800 <example> | 1799 <example> |
1801 proxy_set_header Host $proxy_host; | 1800 proxy_set_header Host $proxy_host; |
1802 proxy_set_header Connection close; | 1801 proxy_set_header Connection close; |
1803 </example> | 1802 </example> |