Mercurial > hg > nginx-site
changeset 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 | 887ce78207ac |
children | e7a0efdd8c25 |
files | xml/en/docs/http/ngx_http_proxy_module.xml xml/ru/docs/http/ngx_http_proxy_module.xml |
diffstat | 2 files changed, 20 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_proxy_module.xml Fri Nov 20 16:56:41 2015 +0300 +++ b/xml/en/docs/http/ngx_http_proxy_module.xml Tue Nov 24 22:47:00 2015 +0300 @@ -10,7 +10,7 @@ <module name="Module ngx_http_proxy_module" link="/en/docs/http/ngx_http_proxy_module.html" lang="en" - rev="43"> + rev="44"> <section id="summary"> @@ -1660,6 +1660,15 @@ proxy_set_header Host $proxy_host; proxy_set_header Connection close; </example> +If caching is enabled, the header fields +<header>If-Modified-Since</header>, +<header>If-Unmodified-Since</header>, +<header>If-None-Match</header>, +<header>If-Match</header>, +<header>Range</header>, +and +<header>If-Range</header> +from the original request are not passed to the proxied server. </para> <para>
--- a/xml/ru/docs/http/ngx_http_proxy_module.xml Fri Nov 20 16:56:41 2015 +0300 +++ b/xml/ru/docs/http/ngx_http_proxy_module.xml Tue Nov 24 22:47:00 2015 +0300 @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_proxy_module" link="/ru/docs/http/ngx_http_proxy_module.html" lang="ru" - rev="43"> + rev="44"> <section id="summary"> @@ -1660,6 +1660,15 @@ proxy_set_header Host $proxy_host; proxy_set_header Connection close; </example> +Если включено кэширование, поля заголовка +<header>If-Modified-Since</header>, +<header>If-Unmodified-Since</header>, +<header>If-None-Match</header>, +<header>If-Match</header>, +<header>Range</header> +и +<header>If-Range</header> +исходного запроса не передаются на проксируемый сервер. </para> <para>