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	Tue Oct 18 12:19:06 2011 +0000
+++ b/xml/ru/docs/http/ngx_http_rewrite_module.xml	Wed Oct 19 05:15:24 2011 +0000
@@ -27,7 +27,7 @@
 <section name="Директивы" id="directives">
 
 <directive name="break">
-<syntax>break</syntax>
+<syntax/>
 <default/>
 <context>server, location, if</context>
 
@@ -50,7 +50,7 @@
 
 
 <directive name="if">
-<syntax>if (<value>условие</value>) { ... }</syntax>
+<syntax>(<value>условие</value>) { ... }</syntax>
 <default/>
 <context>server, location</context>
 
@@ -136,7 +136,7 @@
 
 
 <directive name="return">
-<syntax>return <value>код</value></syntax>
+<syntax><value>код</value></syntax>
 <default/>
 <context>server, location, if</context>
 
@@ -152,7 +152,7 @@
 
 
 <directive name="rewrite">
-<syntax>rewrite <value>regex</value> <value>замена</value>
+<syntax><value>regex</value> <value>замена</value>
          <value>флаг</value>
 </syntax>
 <default/>
@@ -235,7 +235,7 @@
 
 
 <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 @@
 
 
 <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>