changeset 1934:a0a64fee6b13

Fixed optional port description in the real_ip_header directive.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 16 Mar 2017 15:02:34 +0300
parents 866653a4f6a2
children be7490a66d1b
files xml/en/docs/http/ngx_http_realip_module.xml xml/ru/docs/http/ngx_http_realip_module.xml
diffstat 2 files changed, 6 insertions(+), 6 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="6">
+        rev="7">
 
 <section id="summary">
 
@@ -86,8 +86,8 @@ whose value will be used to replace the 
 </para>
 
 <para>
-The <literal>X-Real-IP</literal> and <literal>X-Forwarded-For</literal>
-parameters may contain an optional port (1.11.0).
+The request header field value that contains an optional port
+is also used to replace the client port (1.11.0).
 The address and port should be specified according to
 <link url="https://tools.ietf.org/html/rfc3986">RFC 3986</link>.
 </para>
--- 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="6">
+        rev="7">
 
 <section id="summary">
 
@@ -86,8 +86,8 @@ IPv6-адреса поддерживаются начиная с версий 1.3.0 и 1.2.1.
 </para>
 
 <para>
-Параметры <literal>X-Real-IP</literal> и <literal>X-Forwarded-For</literal>
-могут содержать необязательный порт (1.11.0).
+Значение поля заголовка запроса, содержащее необязательный порт,
+также используется для замены порта клиента (1.11.0).
 Адрес и порт должны быть указаны согласно
 <link url="https://tools.ietf.org/html/rfc3986">RFC 3986</link>.
 </para>