xin

proxy_cache

HTTP proxy: Selects the response-cache zone.

Syntaxproxy_cache zone | off;
Contextshttpserverlocation

Behavior

Use with the matching upstream handler and a configured cache zone. Child-scope cache lists replace inherited lists.

Example

proxy_cache responses;