HTTP directives
proxy_store directive (HTTP)
Save origin responses as files rather than managing them as cache entries. Restrict storage to a dedicated directory and immutable public objects. Context: http, server, location. Documented default: off. Version: Introduction not established. OSS documentation; verify build and version. Only syntax is tested. No file is fetched or saved; never enable for authenticated or mutable data. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
proxy_store on | off | string;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| mode_or_path | on | off | path expression | On uses root/alias mapping; off disables storage; expression selects a file name. |
Working Example
Example Snippetnginx
root html;proxy_store on;