fastcgi_param

Syntax: fastcgi_param parameter value [if_not_empty]; Default: — Context: http, server, location Sets a parameter that should be passed to the FastCGI server. The value can contain text, variables, and their combination. These directives are inherited from the previous level if and only if there are no fastcgi_param directives defined on the current level. The following example shows the minimum required settings for PHP: fastcgi_param SCRIPT_FILENAME /home/www/scripts

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_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

ignore_invalid_headers

Syntax: ignore_invalid_headers on | off; Default: ignore_invalid_headers on; Context: http, server Controls whether header fields with invalid names should be ignored. Valid names are composed of English letters, digits, hyphens, and possibly underscores (as controlled by the underscores_in_headers directive). If the directive is specified on the server level, its value is only used if a server is a default one. The value specified also applies to all virtual servers listening on

pop3_auth

Syntax: pop3_auth method ...; Default: pop3_auth plain; Context: mail, server Sets permitted methods of authentication for POP3 clients. Supported methods are: plain USER/PASS, AUTH PLAIN, AUTH LOGIN. It is not possible to disable these methods. apop APOP. In order for this method to work, the password must be stored unencrypted. cram-md5 AUTH CRAM-MD5. In order for this method to work, the password must be stored unencrypted. external AUTH EXTERNAL (1.11.6).

uwsgi_temp_path

Syntax: uwsgi_temp_path path [level1 [level2 [level3]]]; Default: uwsgi_temp_path uwsgi_temp; Context: http, server, location Defines a directory for storing temporary files with data received from uwsgi servers. Up to three-level subdirectory hierarchy can be used underneath the specified directory. For example, in the following configuration uwsgi_temp_path /spool/nginx/uwsgi_temp 1 2; a temporary file might look like this: /spool/nginx/uwsgi_temp/7/45/0000

uwsgi_buffering

Syntax: uwsgi_buffering on | off; Default: uwsgi_buffering on; Context: http, server, location Enables or disables buffering of responses from the uwsgi server. When buffering is enabled, nginx receives a response from the uwsgi server as soon as possible, saving it into the buffers set by the uwsgi_buffer_size and uwsgi_buffers directives. If the whole response does not fit into memory, a part of it can be saved to a temporary file on the disk. Writing to temporary files is cont

uwsgi_bind

Syntax: uwsgi_bind address [transparent] | off; Default: — Context: http, server, location Makes outgoing connections to a uwsgi server originate from the specified local IP address with an optional port (1.11.2). Parameter value can contain variables (1.3.12). The special value off (1.3.12) cancels the effect of the uwsgi_bind directive inherited from the previous configuration level, which allows the system to auto-assign the local IP address and port. The transpar

proxy_upload_rate

Syntax: proxy_upload_rate rate; Default: proxy_upload_rate 0; Context: stream, server This directive appeared in version 1.9.3. Limits the speed of reading the data from the client. The rate is specified in bytes per second. The zero value disables rate limiting. The limit is set per a connection, so if the client simultaneously opens two connections, the overall rate will be twice as much as the specified limit.

scgi_cache_use_stale

Syntax: scgi_cache_use_stale error | timeout | invalid_header | updating | http_500 | http_503 | http_403 | http_404 | off ...; Default: scgi_cache_use_stale off; Context: http, server, location Determines in which cases a stale cached response can be used when an error occurs during communication with the SCGI server. The directive’s parameters match the parameters of the scgi_next_upstream directive. The error parameter also permits usin