memcached_pass

Syntax: memcached_pass address;
Default:
Context: location, if in location

Sets the memcached server address. The address can be specified as a domain name or IP address, and a port:

memcached_pass localhost:11211;

or as a UNIX-domain socket path:

memcached_pass unix:/tmp/memcached.socket;

If a domain name resolves to several addresses, all of them will be used in a round-robin fashion. In addition, an address can be specified as a server group.

doc_nginx
2017-02-09 07:07:01
Comments
Leave a Comment

Please login to continue.