Mercurial > hg > nginx-site
changeset 686:f368bff5c70a
Documented missing contexts in the http_headers module.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Tue, 18 Sep 2012 08:46:43 +0000 |
parents | 3f43a59a1dba |
children | 0bfdc0d91b49 |
files | xml/en/docs/http/ngx_http_headers_module.xml xml/ru/docs/http/ngx_http_headers_module.xml |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_headers_module.xml +++ b/xml/en/docs/http/ngx_http_headers_module.xml @@ -10,7 +10,7 @@ <module name="Module ngx_http_headers_module" link="/en/docs/http/ngx_http_headers_module.html" lang="en" - rev="1"> + rev="2"> <section id="summary"> @@ -48,6 +48,7 @@ add_header Cache-Control private; <context>http</context> <context>server</context> <context>location</context> +<context>if in location</context> <para> Adds the specified field to a response header provided that @@ -68,6 +69,7 @@ A value can contain variables. <context>http</context> <context>server</context> <context>location</context> +<context>if in location</context> <para> Enables or disables adding or modifying the <header>Expires</header>
--- a/xml/ru/docs/http/ngx_http_headers_module.xml +++ b/xml/ru/docs/http/ngx_http_headers_module.xml @@ -10,7 +10,7 @@ <module name="Модуль ngx_http_headers_module" link="/ru/docs/http/ngx_http_headers_module.html" lang="ru" - rev="1"> + rev="2"> <section id="summary"> @@ -48,6 +48,7 @@ add_header Cache-Control private; <context>http</context> <context>server</context> <context>location</context> +<context>if в location</context> <para> Добавляет указанное поле в заголовок ответа при условии, что код ответа @@ -68,6 +69,7 @@ add_header Cache-Control private; <context>http</context> <context>server</context> <context>location</context> +<context>if в location</context> <para> Разрешает или запрещает добавлять или менять поля <header>Expires</header>