HTTP memcached directives
memcached_pass directive
Location or if in location; retrieves a value from the named Memcached endpoint.
Formal Syntax & Structure
nginx syntaxnginx
memcached_pass address;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| address | host:port | unix:path | upstream name | Select an internal cache server. Values must be populated by another component; avoid shared keys for personalized responses. |
Working Example
Example Snippetnginx
memcached_pass 127.0.0.1:11211;