comparison xml/ru/docs/http/ngx_http_headers_module.xml @ 102:c76a257f3fd4

The directive name is now automatically printed in <default> and <syntax>. Specifying <default> is made non-optional. Visible changes: - "types" and "proxy_set_header" get proper defaults (not yet displayed nicely); - "fastcgi_hide_header", "fastcgi_ignore_headers", "fastcgi_pass_header", "proxy_hide_header", "proxy_ignore_headers", and "proxy_pass_header" now have their (empty) defaults documented; - mentions of "fastcgi_redirect_errors" and "proxy_redirect_errors" which are long unsupported were removed.
author Ruslan Ermilov <ru@nginx.com>
date Wed, 19 Oct 2011 05:15:24 +0000
parents 1d315ef37215
children 40eec261c2a6
comparison
equal deleted inserted replaced
101:b8fd014ec712 102:c76a257f3fd4
33 33
34 34
35 <section name="Директивы" id="directives"> 35 <section name="Директивы" id="directives">
36 36
37 <directive name="add_header"> 37 <directive name="add_header">
38 <syntax>add_header <value>название значение</value></syntax> 38 <syntax><value>название значение</value></syntax>
39 <default/> 39 <default/>
40 <context>http, server, location</context> 40 <context>http, server, location</context>
41 41
42 <para> 42 <para>
43 Директива добавляет строку в заголовке ответа при условии, что код ответа 43 Директива добавляет строку в заголовке ответа при условии, что код ответа
47 47
48 </directive> 48 </directive>
49 49
50 50
51 <directive name="expires"> 51 <directive name="expires">
52 <syntax>expires <value>[modified]</value> <value>[время|epoch|max|off]</value></syntax> 52 <syntax><value>[modified]</value> <value>[время|epoch|max|off]</value></syntax>
53 <default>expires off</default> 53 <default>off</default>
54 <context>http, server, location</context> 54 <context>http, server, location</context>
55 55
56 <para> 56 <para>
57 Разрешает или запрещает добавлять или менять строки "Expires" 57 Разрешает или запрещает добавлять или менять строки "Expires"
58 и "Cache-Control" в заголовке ответа. 58 и "Cache-Control" в заголовке ответа.