resolver_timeout

Syntax: resolver_timeout time; Default: resolver_timeout 30s; Context: http, server, location Sets a timeout for name resolution, for example: resolver_timeout 5s;

stub_status

Syntax: stub_status; Default: — Context: server, location The basic status information will be accessible from the surrounding location. In versions prior to 1.7.5, the directive syntax required an arbitrary argument, for example, “stub_status on”.

xslt_types

Syntax: xslt_types mime-type ...; Default: xslt_types text/xml; Context: http, server, location Enables transformations in responses with the specified MIME types in addition to “text/xml”. The special value “*” matches any MIME type (0.8.29). If the transformation result is an HTML response, its MIME type is changed to “text/html”.

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_cache_key

Syntax: scgi_cache_key string; Default: — Context: http, server, location Defines a key for caching, for example scgi_cache_key localhost:9000$request_uri;

types_hash_bucket_size

Syntax: types_hash_bucket_size size; Default: types_hash_bucket_size 64; Context: http, server, location Sets the bucket size for the types hash tables. The details of setting up hash tables are provided in a separate document. Prior to version 1.5.13, the default value depended on the size of the processor’s cache line.

proxy_ssl_server_name

Syntax: proxy_ssl_server_name on | off; Default: proxy_ssl_server_name off; Context: stream, server Enables or disables passing of the server name through TLS Server Name Indication extension (SNI, RFC 6066) when establishing a connection with the proxied server.

scgi_hide_header

Syntax: scgi_hide_header field; Default: — Context: http, server, location By default, nginx does not pass the header fields “Status” and “X-Accel-...” from the response of an SCGI server to a client. The scgi_hide_header directive sets additional fields that will not be passed. If, on the contrary, the passing of fields needs to be permitted, the scgi_pass_header directive can be used.

proxy_no_cache

Syntax: proxy_no_cache string ...; Default: — Context: http, server, location Defines conditions under which the response will not be saved to a cache. If at least one value of the string parameters is not empty and is not equal to “0” then the response will not be saved: proxy_no_cache $cookie_nocache $arg_nocache$arg_comment; proxy_no_cache $http_pragma $http_authorization; Can be used along with the proxy_cache_bypass directive.

spdy_chunk_size

Syntax: spdy_chunk_size size; Default: spdy_chunk_size 8k; Context: http, server, location This directive appeared in version 1.5.9. Sets the maximum size of chunks into which the response body is sliced. A too low value results in higher overhead. A too high value impairs prioritization due to HOL blocking.