comparison xml/ru/docs/http/ngx_http_addition_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_before_body"> 37 <directive name="add_before_body">
38 <syntax>add_before_body <value>uri</value></syntax> 38 <syntax><value>uri</value></syntax>
39 <default/> 39 <default/>
40 <context>location</context> 40 <context>location</context>
41 41
42 <para> 42 <para>
43 Директива добавляет перед телом ответа текст, выдаваемый в результате 43 Директива добавляет перед телом ответа текст, выдаваемый в результате
46 46
47 </directive> 47 </directive>
48 48
49 49
50 <directive name="add_after_body"> 50 <directive name="add_after_body">
51 <syntax>add_after_body <value>uri</value></syntax> 51 <syntax><value>uri</value></syntax>
52 <default/> 52 <default/>
53 <context>location</context> 53 <context>location</context>
54 54
55 <para> 55 <para>
56 Директива добавляет после тела ответа текст, выдаваемый в результате 56 Директива добавляет после тела ответа текст, выдаваемый в результате
59 59
60 </directive> 60 </directive>
61 61
62 62
63 <directive name="addition_types"> 63 <directive name="addition_types">
64 <syntax>addition_types <value>mime-тип [mime-тип ...]</value></syntax> 64 <syntax><value>mime-тип [mime-тип ...]</value></syntax>
65 <default>addition_types text/html</default> 65 <default>text/html</default>
66 <context>http, server, location</context> 66 <context>http, server, location</context>
67 67
68 <para> 68 <para>
69 Директива (0.7.9) разрешает добавлять текст в ответах 69 Директива (0.7.9) разрешает добавлять текст в ответах
70 с указанными MIME-типами в дополнение к "text/html". 70 с указанными MIME-типами в дополнение к "text/html".