secure_link

Syntax: secure_link expression; Default: — Context: http, server, location Defines a string with variables from which the checksum value and lifetime of a link will be extracted. Variables used in an expression are usually associated with a request; see example below. The checksum value extracted from the string is compared with the MD5 hash value of the expression defined by the secure_link_md5 directive. If the checksums are different, the $secure_link variable is set to an e

scgi_temp_path

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

scgi_temp_file_write_size

Syntax: scgi_temp_file_write_size size; Default: scgi_temp_file_write_size 8k|16k; Context: http, server, location Limits the size of data written to a temporary file at a time, when buffering of responses from the SCGI server to temporary files is enabled. By default, size is limited by two buffers set by the scgi_buffer_size and scgi_buffers directives. The maximum size of a temporary file is set by the scgi_max_temp_file_size directive.

scgi_store_access

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

scgi_store

Syntax: scgi_store on | off | string; Default: scgi_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: scgi_store /data/www$original_uri; The modification time of files is set according to the received “Last-Modified” response he

scgi_send_timeout

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

scgi_request_buffering

Syntax: scgi_request_buffering on | off; Default: scgi_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 an SCGI server. When buffering is disabled, the request body is sent to the SCGI server immediately as it is received. In this case, the request cannot be passed to the

scgi_read_timeout

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

scgi_pass_request_headers

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

scgi_pass_request_body

Syntax: scgi_pass_request_body on | off; Default: scgi_pass_request_body on; Context: http, server, location Indicates whether the original request body is passed to the SCGI server. See also the scgi_pass_request_headers directive.