proxy_temp_path

Syntax: proxy_temp_path path [level1 [level2 [level3]]];
Default: proxy_temp_path proxy_temp;
Context: http, server, location

Defines a directory for storing temporary files with data received from proxied servers. Up to three-level subdirectory hierarchy can be used underneath the specified directory. For example, in the following configuration

1
proxy_temp_path /spool/nginx/proxy_temp 1 2;

a temporary file might look like this:

1
/spool/nginx/proxy_temp/<strong>7</strong>/<strong>45</strong>/00000123<strong>457</strong>

See also the use_temp_path parameter of the proxy_cache_path directive.

doc_nginx
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.