comparison xml/en/docs/http/ngx_http_memcached_module.xml @ 2090:a9a9a052b5bd

Documented the "CAP_NET_RAW" capability for transparent proxying.
author Yaroslav Zhuravlev <yar@nginx.com>
date Tue, 26 Dec 2017 15:28:53 +0300
parents af6f326dee75
children d7d65cc0aa1e
comparison
equal deleted inserted replaced
2089:70c1e798a5c2 2090:a9a9a052b5bd
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="15"> 13 rev="16">
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
76 for example, from a real IP address of a client: 76 for example, from a real IP address of a client:
77 <example> 77 <example>
78 memcached_bind $remote_addr transparent; 78 memcached_bind $remote_addr transparent;
79 </example> 79 </example>
80 In order for this parameter to work, 80 In order for this parameter to work,
81 it is necessary to run nginx worker processes with the 81 it is usually necessary to run nginx worker processes with the
82 <link doc="../ngx_core_module.xml" id="user">superuser</link> privileges 82 <link doc="../ngx_core_module.xml" id="user">superuser</link> privileges.
83 and configure kernel routing table 83 On Linux it is not required (1.13.8) as if
84 the <literal>transparent</literal> parameter is specified, worker processes
85 inherit the <literal>CAP_NET_RAW</literal> capability from the master process.
86 It is also necessary to configure kernel routing table
84 to intercept network traffic from the memcached server. 87 to intercept network traffic from the memcached server.
85 </para> 88 </para>
86 89
87 </directive> 90 </directive>
88 91