HTTP core directives

client_body_temp_path (HTTP core directives)

Selects the directory and optional hierarchy for request-body temporary files.

Formal Syntax & Structure

nginx syntaxnginx
client_body_temp_path path [level1 [level2 [level3]]];

Parameters & Attributes

NameTypeDescription
pathdirectoryLab-owned writable location for request-body temporary data.
level1integerFirst directory name length, if using a hierarchy.
level2integerSecond directory name length; requires level1.
level3integerThird directory name length; requires preceding levels.

Working Example

Example Snippetnginx
client_body_temp_path temp/body;
Nginx Reference