syntax: uwsgi_temp_path path [level1 [level2 [level3]]]
default: uwsgi_temp_path uwsgi_temp
context: http, server, location
This directive sets the path where to store temporary files received from another server. It is possible to use up to 3 levels of subdirectories to create hashed storage. Level value specifies how many symbols will be used for hashing. For example, in the following configuration:
uwsgi_temp_path /spool/nginx/uwsgi_temp 1 2;
Temporary file name may look like:
/spool/nginx/uwsgi_temp/7/45/00000123457
The request headers are transferred to the uWSGI-server in the form of parameters. In the applications and the scripts run from the uWSGI-server, these parameters are usually accessible in the form of environment variables. For example, the header "User-agent" is transferred as parameter HTTP_USER_AGENT. Besides the headers of the HTTP request, it is possible to transfer arbitrary parameters with the aid of directive uwsgi_param.