diff xml/en/docs/http/ngx_http_memcached_module.xml @ 1696:d855e7cc3b2f

Added the "transparent" parameter of proxy_bind and friends.
author Yaroslav Zhuravlev <yar@nginx.com>
date Thu, 28 Apr 2016 17:27:44 +0300
parents 9c98c4498f08
children be371be7a5c8
line wrap: on
line diff
--- a/xml/en/docs/http/ngx_http_memcached_module.xml	Wed May 04 17:35:39 2016 +0300
+++ b/xml/en/docs/http/ngx_http_memcached_module.xml	Thu Apr 28 17:27:44 2016 +0300
@@ -10,7 +10,7 @@
 <module name="Module ngx_http_memcached_module"
         link="/en/docs/http/ngx_http_memcached_module.html"
         lang="en"
-        rev="12">
+        rev="13">
 
 <section id="summary">
 
@@ -49,7 +49,7 @@
 <section id="directives" name="Directives">
 
 <directive name="memcached_bind">
-<syntax><value>address</value> | <literal>off</literal></syntax>
+<syntax><value>address</value> [transparent] | <literal>off</literal></syntax>
 <default/>
 <context>http</context>
 <context>server</context>
@@ -66,6 +66,21 @@
 system to auto-assign the local IP address.
 </para>
 
+<para id="memcached_bind_transparent">
+The <literal>transparent</literal> parameter (1.11.0) allows
+outgoing connections to a memcached server originate
+from a non-local IP address,
+for example, from a real IP address of a client:
+<example>
+memcached_bind $remote_addr transparent;
+</example>
+In order for this parameter to work,
+it is necessary to run nginx worker processes with the
+<link doc="../ngx_core_module.xml" id="user">superuser</link> privileges
+and configure kernel routing table
+to intercept network traffic from the memcached server.
+</para>
+
 </directive>