HTTP proxy directives
proxy_cache directive
HTTP, server, location; default off. Select a defined cache zone or disable inherited caching.
Formal Syntax & Structure
nginx syntaxnginx
proxy_cache zone | off;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| zone | zone name | off | Select a declared cache zone or disable inherited caching. |
Working Example
Example Snippetnginx
proxy_cache public_docs;