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

NameTypeDescription
pathdirectoryLab-owned writable storage.
level1directory-name lengthFirst fan-out level.
level2directory-name lengthSecond level; requires first.
level3directory-name lengthThird level; requires second.

Working Example

Example Snippetnginx
proxy_temp_path temp/proxy-alt 1 2;
Nginx Reference