Mercurial > hg > nginx-site
diff 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 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_sub_module.xml Tue Oct 18 12:19:06 2011 +0000 +++ b/xml/ru/docs/http/ngx_http_sub_module.xml Wed Oct 19 05:15:24 2011 +0000 @@ -36,7 +36,7 @@ <section name="Директивы" id="directives"> <directive name="sub_filter"> -<syntax>sub_filter <value>строка замена</value></syntax> +<syntax><value>строка замена</value></syntax> <default/> <context>http, server, location</context> @@ -50,8 +50,8 @@ <directive name="sub_filter_once"> -<syntax>sub_filter_once <value>on|off</value></syntax> -<default>sub_filter_once on</default> +<syntax><value>on|off</value></syntax> +<default>on</default> <context>http, server, location</context> <para> @@ -63,8 +63,8 @@ <directive name="sub_filter_types"> -<syntax>sub_filter_types <value>mime-тип [mime-тип ...]</value></syntax> -<default>sub_filter_types text/html</default> +<syntax><value>mime-тип [mime-тип ...]</value></syntax> +<default>text/html</default> <context>http, server, location</context> <para>