diff xml/ru/docs/http/ngx_http_realip_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_realip_module.xml	Tue Oct 18 12:19:06 2011 +0000
+++ b/xml/ru/docs/http/ngx_http_realip_module.xml	Wed Oct 19 05:15:24 2011 +0000
@@ -34,7 +34,7 @@
 <section name="Директивы" id="directives">
 
 <directive name="set_real_ip_from">
-<syntax>set_real_ip_from <value>[адрес|CIDR]</value></syntax>
+<syntax><value>[адрес|CIDR]</value></syntax>
 <default/>
 <context>http, server, location</context>
 
@@ -47,8 +47,8 @@
 
 
 <directive name="real_ip_header">
-<syntax>real_ip_header <value>имя строки[X-Real-IP|X-Forwarded-For]</value></syntax>
-<default>real_ip_header X-Real-IP</default>
+<syntax><value>имя строки[X-Real-IP|X-Forwarded-For]</value></syntax>
+<default>X-Real-IP</default>
 <context>http, server, location</context>
 
 <para>