Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 1610:2d60caa1c1dd
Documented headers that are stripped when caching is enabled.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 24 Nov 2015 22:47:00 +0300 |
parents | 12714bbf9230 |
children | 680cbf783efe |
comparison
equal
deleted
inserted
replaced
1609:887ce78207ac | 1610:2d60caa1c1dd |
---|---|
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="43"> | 13 rev="44"> |
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 |
1658 By default, only two fields are redefined: | 1658 By default, only two fields are redefined: |
1659 <example> | 1659 <example> |
1660 proxy_set_header Host $proxy_host; | 1660 proxy_set_header Host $proxy_host; |
1661 proxy_set_header Connection close; | 1661 proxy_set_header Connection close; |
1662 </example> | 1662 </example> |
1663 If caching is enabled, the header fields | |
1664 <header>If-Modified-Since</header>, | |
1665 <header>If-Unmodified-Since</header>, | |
1666 <header>If-None-Match</header>, | |
1667 <header>If-Match</header>, | |
1668 <header>Range</header>, | |
1669 and | |
1670 <header>If-Range</header> | |
1671 from the original request are not passed to the proxied server. | |
1663 </para> | 1672 </para> |
1664 | 1673 |
1665 <para> | 1674 <para> |
1666 An unchanged <header>Host</header> request header field can be passed like this: | 1675 An unchanged <header>Host</header> request header field can be passed like this: |
1667 <example> | 1676 <example> |