changeset 1601:8854618e1ca5

Documented the "$realip_remote_addr" variable.
author Yaroslav Zhuravlev <yar@nginx.com>
date Fri, 13 Nov 2015 16:11:56 +0300
parents dd190baef1e7
children bc25f237a966
files xml/en/docs/http/ngx_http_realip_module.xml xml/ru/docs/http/ngx_http_realip_module.xml
diffstat 2 files changed, 34 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_realip_module.xml
+++ b/xml/en/docs/http/ngx_http_realip_module.xml
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_realip_module"
         link="/en/docs/http/ngx_http_realip_module.html"
         lang="en"
-        rev="3">
+        rev="4">
 
 <section id="summary">
 
@@ -118,4 +118,20 @@ non-trusted address sent in the request 
 
 </section>
 
+
+<section id="variables" name="Embedded Variables">
+
+<para>
+<list type="tag">
+
+<tag-name id="var_realip_remote_addr"><var>$realip_remote_addr</var></tag-name>
+<tag-desc>
+keeps the original client address (1.9.7).
+</tag-desc>
+
+</list>
+</para>
+
+</section>
+
 </module>
--- a/xml/ru/docs/http/ngx_http_realip_module.xml
+++ b/xml/ru/docs/http/ngx_http_realip_module.xml
@@ -10,7 +10,7 @@
 <module name="Модуль ngx_http_realip_module"
         link="/ru/docs/http/ngx_http_realip_module.html"
         lang="ru"
-        rev="3">
+        rev="4">
 
 <section id="summary">
 
@@ -118,4 +118,20 @@ IPv6-адреса поддерживаются начиная с версий 1.3.0 и 1.2.1.
 
 </section>
 
+
+<section id="variables" name="Встроенные переменные">
+
+<para>
+<list type="tag">
+
+<tag-name id="var_realip_remote_addr"><var>$realip_remote_addr</var></tag-name>
+<tag-desc>
+хранит исходный адрес клиента (1.9.7).
+</tag-desc>
+
+</list>
+</para>
+
+</section>
+
 </module>