Mercurial > hg > nginx-site
diff xml/ru/docs/http/ngx_http_rewrite_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 | 56457a474903 |
line wrap: on
line diff
--- a/xml/ru/docs/http/ngx_http_rewrite_module.xml +++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml @@ -27,7 +27,7 @@ location для запроса. Если в выбранном location тоже есть <section name="Директивы" id="directives"> <directive name="break"> -<syntax>break</syntax> +<syntax/> <default/> <context>server, location, if</context> @@ -50,7 +50,7 @@ ngx_http_rewrite_module. <directive name="if"> -<syntax>if (<value>условие</value>) { ... }</syntax> +<syntax>(<value>условие</value>) { ... }</syntax> <default/> <context>server, location</context> @@ -136,7 +136,7 @@ ngx_http_rewrite_module. <directive name="return"> -<syntax>return <value>код</value></syntax> +<syntax><value>код</value></syntax> <default/> <context>server, location, if</context> @@ -152,7 +152,7 @@ 402 — 406, 408, 410, 411, 413, 416 и 500 — 504. <directive name="rewrite"> -<syntax>rewrite <value>regex</value> <value>замена</value> +<syntax><value>regex</value> <value>замена</value> <value>флаг</value> </syntax> <default/> @@ -235,7 +235,7 @@ permanent — возвращает постоянный редирект с кодом 301. <directive name="set"> -<syntax>set <value>переменная</value> <value>значение</value> +<syntax><value>переменная</value> <value>значение</value> </syntax> <default/> <context>server, location, if</context> @@ -249,8 +249,8 @@ permanent — возвращает постоянный редирект с кодом 301. <directive name="uninitialized_variable_warn"> -<syntax>uninitialized_variable_warn <value>on|off</value></syntax> -<default>uninitialized_variable_warn on</default> +<syntax><value>on|off</value></syntax> +<default>on</default> <context>http, server, location, if</context> <para>