Syntax: | memcached_pass |
---|---|
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:
1 | memcached_pass localhost:11211; |
or as a UNIX-domain socket path:
1 | 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.
Please login to continue.