Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_sub_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 |
---|---|
34 | 34 |
35 | 35 |
36 <section name="Директивы" id="directives"> | 36 <section name="Директивы" id="directives"> |
37 | 37 |
38 <directive name="sub_filter"> | 38 <directive name="sub_filter"> |
39 <syntax>sub_filter <value>строка замена</value></syntax> | 39 <syntax><value>строка замена</value></syntax> |
40 <default/> | 40 <default/> |
41 <context>http, server, location</context> | 41 <context>http, server, location</context> |
42 | 42 |
43 <para> | 43 <para> |
44 Директива задаёт строку, которую нужно заменить, и строку замены. | 44 Директива задаёт строку, которую нужно заменить, и строку замены. |
48 | 48 |
49 </directive> | 49 </directive> |
50 | 50 |
51 | 51 |
52 <directive name="sub_filter_once"> | 52 <directive name="sub_filter_once"> |
53 <syntax>sub_filter_once <value>on|off</value></syntax> | 53 <syntax><value>on|off</value></syntax> |
54 <default>sub_filter_once on</default> | 54 <default>on</default> |
55 <context>http, server, location</context> | 55 <context>http, server, location</context> |
56 | 56 |
57 <para> | 57 <para> |
58 Директива определяет, сколько раз нужно искать заменяемую строку — один | 58 Директива определяет, сколько раз нужно искать заменяемую строку — один |
59 раз или несколько. | 59 раз или несколько. |
61 | 61 |
62 </directive> | 62 </directive> |
63 | 63 |
64 | 64 |
65 <directive name="sub_filter_types"> | 65 <directive name="sub_filter_types"> |
66 <syntax>sub_filter_types <value>mime-тип [mime-тип ...]</value></syntax> | 66 <syntax><value>mime-тип [mime-тип ...]</value></syntax> |
67 <default>sub_filter_types text/html</default> | 67 <default>text/html</default> |
68 <context>http, server, location</context> | 68 <context>http, server, location</context> |
69 | 69 |
70 <para> | 70 <para> |
71 Директива разрешает замену строк в ответах с указанными MIME-типами | 71 Директива разрешает замену строк в ответах с указанными MIME-типами |
72 в дополнение к "text/html". | 72 в дополнение к "text/html". |