HTTP directives
proxy_temp_path directive (HTTP)
Choose disk space for buffered origin data. A small directory fan-out spreads entries; keep the directory private and separate from served files. Context: http, server, location. Documented default: proxy_temp. Version: Introduction not established. OSS documentation; verify build and version. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
proxy_temp_path path [level1 [level2 [level3]]];Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| path | directory | Lab-owned writable storage. |
| level1 | directory-name length | First fan-out level. |
| level2 | directory-name length | Second level; requires first. |
| level3 | directory-name length | Third level; requires second. |
Working Example
Example Snippetnginx
proxy_temp_path temp/proxy-alt 1 2;