Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_memcached_module.xml @ 814:f46a132af596
"memcached_pass" can be a UNIX-domain socket.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Wed, 16 Jan 2013 14:25:01 +0400 |
parents | ce121bf644f5 |
children | ed29fd8be462 |
comparison
equal
deleted
inserted
replaced
813:6bc7481ccd6e | 814:f46a132af596 |
---|---|
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="3"> | 13 rev="4"> |
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 allows to obtain | 18 The <literal>ngx_http_memcached_module</literal> module allows to obtain |
171 An address can be specified as a domain name or an address, and a port, | 171 An address can be specified as a domain name or an address, and a port, |
172 for example, | 172 for example, |
173 <example> | 173 <example> |
174 memcached_pass localhost:11211; | 174 memcached_pass localhost:11211; |
175 </example> | 175 </example> |
176 or as a UNIX-domain socket path: | |
177 <example> | |
178 memcached_pass unix:/tmp/memcached.socket; | |
179 </example> | |
176 </para> | 180 </para> |
177 | 181 |
178 <para> | 182 <para> |
179 If a domain name resolves to several addresses, all of them will be | 183 If a domain name resolves to several addresses, all of them will be |
180 used in a round-robin fashion. | 184 used in a round-robin fashion. |