fastcgi_store_access

Syntax: fastcgi_store_access users:permissions ...; Default: fastcgi_store_access user:rw; Context: http, server, location Sets access permissions for newly created files and directories, e.g.: fastcgi_store_access user:rw group:rw all:r; If any group or all access permissions are specified then user permissions may be omitted: fastcgi_store_access group:rw all:r;

fastcgi_split_path_info

Syntax: fastcgi_split_path_info regex; Default: — Context: location Defines a regular expression that captures a value for the $fastcgi_path_info variable. The regular expression should have two captures: the first becomes a value of the $fastcgi_script_name variable, the second becomes a value of the $fastcgi_path_info variable. For example, with these settings location ~ ^(.+\.php)(.*)$ { fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_param SCRIPT_FILENAME /path

fastcgi_store

Syntax: fastcgi_store on | off | string; Default: fastcgi_store off; Context: http, server, location Enables saving of files to a disk. The on parameter saves files with paths corresponding to the directives alias or root. The off parameter disables saving of files. In addition, the file name can be set explicitly using the string with variables: fastcgi_store /data/www$original_uri; The modification time of files is set according to the received “Last-Modified” re

fastcgi_send_timeout

Syntax: fastcgi_send_timeout time; Default: fastcgi_send_timeout 60s; Context: http, server, location Sets a timeout for transmitting a request to the FastCGI server. The timeout is set only between two successive write operations, not for the transmission of the whole request. If the FastCGI server does not receive anything within this time, the connection is closed.

fastcgi_send_lowat

Syntax: fastcgi_send_lowat size; Default: fastcgi_send_lowat 0; Context: http, server, location If the directive is set to a non-zero value, nginx will try to minimize the number of send operations on outgoing connections to a FastCGI server by using either NOTE_LOWAT flag of the kqueue method, or the SO_SNDLOWAT socket option, with the specified size. This directive is ignored on Linux, Solaris, and Windows.

fastcgi_pass_request_headers

Syntax: fastcgi_pass_request_headers on | off; Default: fastcgi_pass_request_headers on; Context: http, server, location Indicates whether the header fields of the original request are passed to the FastCGI server. See also the fastcgi_pass_request_body directive.

fastcgi_request_buffering

Syntax: fastcgi_request_buffering on | off; Default: fastcgi_request_buffering on; Context: http, server, location This directive appeared in version 1.7.11. Enables or disables buffering of a client request body. When buffering is enabled, the entire request body is read from the client before sending the request to a FastCGI server. When buffering is disabled, the request body is sent to the FastCGI server immediately as it is received. In this case, the request cannot be pa

fastcgi_read_timeout

Syntax: fastcgi_read_timeout time; Default: fastcgi_read_timeout 60s; Context: http, server, location Defines a timeout for reading a response from the FastCGI server. The timeout is set only between two successive read operations, not for the transmission of the whole response. If the FastCGI server does not transmit anything within this time, the connection is closed.

fastcgi_pass

Syntax: fastcgi_pass address; Default: — Context: location, if in location Sets the address of a FastCGI server. The address can be specified as a domain name or IP address, and a port: fastcgi_pass localhost:9000; or as a UNIX-domain socket path: fastcgi_pass unix:/tmp/fastcgi.socket; If a domain name resolves to several addresses, all of them will be used in a round-robin fashion. In addition, an address can be specified as a server group.

fastcgi_pass_header

Syntax: fastcgi_pass_header field; Default: — Context: http, server, location Permits passing otherwise disabled header fields from a FastCGI server to a client.