# HG changeset patch # User Vladimir Homutov # Date 1347958003 0 # Node ID f368bff5c70a2015561dbb4e8111679a805b2746 # Parent 3f43a59a1dba23feff891ae7077b5ca1ced7b863 Documented missing contexts in the http_headers module. diff --git a/xml/en/docs/http/ngx_http_headers_module.xml b/xml/en/docs/http/ngx_http_headers_module.xml --- a/xml/en/docs/http/ngx_http_headers_module.xml +++ b/xml/en/docs/http/ngx_http_headers_module.xml @@ -10,7 +10,7 @@ + rev="2">
@@ -48,6 +48,7 @@ add_header Cache-Control private; http server location +if in location Adds the specified field to a response header provided that @@ -68,6 +69,7 @@ A value can contain variables. http server location +if in location Enables or disables adding or modifying the
Expires
diff --git a/xml/ru/docs/http/ngx_http_headers_module.xml b/xml/ru/docs/http/ngx_http_headers_module.xml --- a/xml/ru/docs/http/ngx_http_headers_module.xml +++ b/xml/ru/docs/http/ngx_http_headers_module.xml @@ -10,7 +10,7 @@ + rev="2">
@@ -48,6 +48,7 @@ add_header Cache-Control private; http server location +if в location Добавляет указанное поле в заголовок ответа при условии, что код ответа @@ -68,6 +69,7 @@ add_header Cache-Control private; http server location +if в location Разрешает или запрещает добавлять или менять поля
Expires