diff xml/ru/docs/http/ngx_http_headers_module.xml @ 1291:d7740f42b00a

Headers: documented the "always" parameter of the "add_header" directive.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 16 Sep 2014 12:27:55 +0400
parents b841fbb8c577
children ab0ebdd7ddac
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_headers_module.xml	Fri Sep 12 16:38:33 2014 +0400
+++ b/xml/ru/docs/http/ngx_http_headers_module.xml	Tue Sep 16 12:27:55 2014 +0400
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_headers_module"
         link="/ru/docs/http/ngx_http_headers_module.html"
         lang="ru"
-        rev="5">
+        rev="6">
 
 <section id="summary">
 
@@ -43,7 +43,9 @@
 <section id="directives" name="Директивы">
 
 <directive name="add_header">
-<syntax><value>имя</value> <value>значение</value></syntax>
+<syntax>
+<value>имя</value> <value>значение</value>
+[<literal>always</literal>]</syntax>
 <default/>
 <context>http</context>
 <context>server</context>
@@ -62,6 +64,11 @@
 уровне не описаны свои директивы <literal>add_header</literal>.
 </para>
 
+<para>
+Если указан параметр <literal>always</literal> (1.7.5),
+то поле заголовка будет добавлено независимо от кода ответа.
+</para>
+
 </directive>