xin

memcached_next_upstream

Selects conditions for retrying the next memcached server.

Syntaxmemcached_next_upstream error | timeout | invalid_response | not_found | off ...;
Contextshttpserverlocation
Defaultmemcached_next_upstream error timeout;

Behavior

A smaller, differently-named condition set than proxy_next_upstream: invalid_response instead of invalid_header, and not_found (a cache miss) as a first-class retry condition.

Example

memcached_next_upstream error timeout not_found;

Related directives

memcached_pass · memcached_next_upstream_tries