comparison 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
comparison
equal deleted inserted replaced
1695:aa95174efa80 1696:d855e7cc3b2f
8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> 8 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd">
9 9
10 <module name="Module ngx_http_memcached_module" 10 <module name="Module ngx_http_memcached_module"
11 link="/en/docs/http/ngx_http_memcached_module.html" 11 link="/en/docs/http/ngx_http_memcached_module.html"
12 lang="en" 12 lang="en"
13 rev="12"> 13 rev="13">
14 14
15 <section id="summary"> 15 <section id="summary">
16 16
17 <para> 17 <para>
18 The <literal>ngx_http_memcached_module</literal> module is used to obtain 18 The <literal>ngx_http_memcached_module</literal> module is used to obtain
47 47
48 48
49 <section id="directives" name="Directives"> 49 <section id="directives" name="Directives">
50 50
51 <directive name="memcached_bind"> 51 <directive name="memcached_bind">
52 <syntax><value>address</value> | <literal>off</literal></syntax> 52 <syntax><value>address</value> [transparent] | <literal>off</literal></syntax>
53 <default/> 53 <default/>
54 <context>http</context> 54 <context>http</context>
55 <context>server</context> 55 <context>server</context>
56 <context>location</context> 56 <context>location</context>
57 <appeared-in>0.8.22</appeared-in> 57 <appeared-in>0.8.22</appeared-in>
62 Parameter value can contain variables (1.3.12). 62 Parameter value can contain variables (1.3.12).
63 The special value <literal>off</literal> (1.3.12) cancels the effect 63 The special value <literal>off</literal> (1.3.12) cancels the effect
64 of the <literal>memcached_bind</literal> directive 64 of the <literal>memcached_bind</literal> directive
65 inherited from the previous configuration level, which allows the 65 inherited from the previous configuration level, which allows the
66 system to auto-assign the local IP address. 66 system to auto-assign the local IP address.
67 </para>
68
69 <para id="memcached_bind_transparent">
70 The <literal>transparent</literal> parameter (1.11.0) allows
71 outgoing connections to a memcached server originate
72 from a non-local IP address,
73 for example, from a real IP address of a client:
74 <example>
75 memcached_bind $remote_addr transparent;
76 </example>
77 In order for this parameter to work,
78 it is necessary to run nginx worker processes with the
79 <link doc="../ngx_core_module.xml" id="user">superuser</link> privileges
80 and configure kernel routing table
81 to intercept network traffic from the memcached server.
67 </para> 82 </para>
68 83
69 </directive> 84 </directive>
70 85
71 86