Mercurial > hg > nginx-site
comparison xml/ru/docs/http/ngx_http_charset_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 | 72524ae53106 |
comparison
equal
deleted
inserted
replaced
101:b8fd014ec712 | 102:c76a257f3fd4 |
---|---|
48 | 48 |
49 | 49 |
50 <section name="Директивы" id="directives"> | 50 <section name="Директивы" id="directives"> |
51 | 51 |
52 <directive name="charset"> | 52 <directive name="charset"> |
53 <syntax>charset <value>кодировка|off</value></syntax> | 53 <syntax><value>кодировка|off</value></syntax> |
54 <default>charset off</default> | 54 <default>off</default> |
55 <context>http, server, location, if в location</context> | 55 <context>http, server, location, if в location</context> |
56 | 56 |
57 <para> | 57 <para> |
58 Директива charset добавляет в строку "Content-Type" | 58 Директива charset добавляет в строку "Content-Type" |
59 в заголовке ответа указанную кодировку. | 59 в заголовке ответа указанную кодировку. |
88 | 88 |
89 </directive> | 89 </directive> |
90 | 90 |
91 | 91 |
92 <directive name="charset_map"> | 92 <directive name="charset_map"> |
93 <syntax>charset_map <value>кодировка1 кодировка2 { ... }</value></syntax> | 93 <syntax><value>кодировка1 кодировка2 { ... }</value></syntax> |
94 <default/> | 94 <default/> |
95 <context>http</context> | 95 <context>http</context> |
96 | 96 |
97 <para> | 97 <para> |
98 Директива charset_map описывает таблицу перекодирования из одной | 98 Директива charset_map описывает таблицу перекодирования из одной |
140 | 140 |
141 </directive> | 141 </directive> |
142 | 142 |
143 | 143 |
144 <directive name="charset_types"> | 144 <directive name="charset_types"> |
145 <syntax>charset_types <value>mime-тип [mime-тип ...]</value></syntax> | 145 <syntax><value>mime-тип [mime-тип ...]</value></syntax> |
146 <default>charset_types text/html text/xml text/plain text/vnd.wap.wml | 146 <default>text/html text/xml text/plain text/vnd.wap.wml |
147 application/x-javascript application/rss+xml. | 147 application/x-javascript application/rss+xml. |
148 </default> | 148 </default> |
149 <context>http, server, location</context> | 149 <context>http, server, location</context> |
150 | 150 |
151 <para> | 151 <para> |
163 | 163 |
164 </directive> | 164 </directive> |
165 | 165 |
166 | 166 |
167 <directive name="override_charset"> | 167 <directive name="override_charset"> |
168 <syntax>override_charset <value>on|off</value></syntax> | 168 <syntax><value>on|off</value></syntax> |
169 <default>override_charset off</default> | 169 <default>off</default> |
170 <context>http, server, location, if в location</context> | 170 <context>http, server, location, if в location</context> |
171 | 171 |
172 <para> | 172 <para> |
173 Директива определяет, выполнять ли перекодирование для ответов, | 173 Директива определяет, выполнять ли перекодирование для ответов, |
174 полученных от проксированного сервера или от FastCGI-сервера, | 174 полученных от проксированного сервера или от FastCGI-сервера, |
185 | 185 |
186 </directive> | 186 </directive> |
187 | 187 |
188 | 188 |
189 <directive name="source_charset"> | 189 <directive name="source_charset"> |
190 <syntax>source_charset <value>кодировка</value></syntax> | 190 <syntax><value>кодировка</value></syntax> |
191 <default/> | 191 <default/> |
192 <context>http, server, location, if в location</context> | 192 <context>http, server, location, if в location</context> |
193 | 193 |
194 <para> | 194 <para> |
195 Директива source_charset задают исходную кодировку ответа. | 195 Директива source_charset задают исходную кодировку ответа. |