resolver_timeout

Syntax: resolver_timeout time; Default: resolver_timeout 30s; Context: mail, server Sets a timeout for DNS operations, for example: resolver_timeout 5s;

scgi_pass_header

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

ssl_dhparam

Syntax: ssl_dhparam file; Default: — Context: stream, server Specifies a file with DH parameters for DHE ciphers.

proxy_set_body

Syntax: proxy_set_body value; Default: — Context: http, server, location Allows redefining the request body passed to the proxied server. The value can contain text, variables, and their combination.

reset_timedout_connection

Syntax: reset_timedout_connection on | off; Default: reset_timedout_connection off; Context: http, server, location Enables or disables resetting timed out connections. The reset is performed as follows. Before closing a socket, the SO_LINGER option is set on it with a timeout value of 0. When the socket is closed, TCP RST is sent to the client, and all memory occupied by this socket is released. This helps avoid keeping an already closed socket with filled buffers in a FIN_WAIT1 s

js_filter

Syntax: js_filter function; Default: — Context: stream, server Sets a data filter.

fastcgi_pass_request_body

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

scgi_cache_max_range_offset

Syntax: scgi_cache_max_range_offset number; Default: — Context: http, server, location This directive appeared in version 1.11.6. Sets an offset in bytes for byte-range requests. If the range is beyond the offset, the range request will be passed to the SCGI server and the response will not be cached.

set

Syntax: set $variable value; Default: — Context: server, location, if Sets a value for the specified variable. The value can contain text, variables, and their combination.

Installing nginx

Installing nginx nginx can be installed differently, depending on the operating system.