[edit] fastcgi_temp_path

Syntax: fastcgi_temp_path path [ level1 [ level2 [ level3 ]]]
Default: fastcgi_temp
Context: http
server
location
Reference: fastcgi_temp_path


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:

fastcgi_temp_path  /spool/nginx/fastcgi_temp 1 2;

Temporary file name may look like:

/spool/nginx/fastcgi_temp/7/45/00000123457

[edit] Parameters, transferred to FastCGI-server.

The request headers are transferred to the FastCGI-server in the form of parameters. In the applications and the scripts run from the FastCGI-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 fastcgi_param.

[edit] Variables


Module: HttpFastcgiModule