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.

source_charset

Syntax: source_charset charset; Default: — Context: http, server, location, if in location Defines the source charset of a response. If this charset is different from the charset specified in the charset directive, a conversion is performed.

smtp_capabilities

Syntax: smtp_capabilities extension ...; Default: — Context: mail, server Sets the SMTP protocol extensions list that is passed to the client in response to the EHLO command. Authentication methods specified in the smtp_auth directive are automatically added to this list. It makes sense to specify the extensions supported by the MTA to which the clients are proxied (if these extensions are related to commands used after the authentication, when nginx transparently proxies the cli

smtp_auth

Syntax: smtp_auth method ...; Default: smtp_auth login plain; Context: mail, server Sets permitted methods of SASL authentication for SMTP clients. Supported methods are: login AUTH LOGIN plain AUTH PLAIN cram-md5 AUTH CRAM-MD5. In order for this method to work, the password must be stored unencrypted. external AUTH EXTERNAL (1.11.6). none Authentication is not required.

slice

Syntax: slice size; Default: slice 0; Context: http, server, location Sets the size of the slice. The zero value disables splitting responses into slices. Note that a too low value may result in excessive memory usage and opening a large number of files. In order for a subrequest to return the required range, the $slice_range variable should be passed to the proxied server as the Range request header field. If caching is enabled, $slice_range should be added to the cache key and

set_real_ip_from

Syntax: set_real_ip_from address | CIDR | unix:; Default: — Context: stream, server Defines trusted addresses that are known to send correct replacement addresses. If the special value unix: is specified, all UNIX-domain sockets will be trusted.

set_real_ip_from

Syntax: set_real_ip_from address | CIDR | unix:; Default: — Context: http, server, location Defines trusted addresses that are known to send correct replacement addresses. If the special value unix: is specified, all UNIX-domain sockets will be trusted. IPv6 addresses are supported starting from versions 1.3.0 and 1.2.1.

Setting up hashes

Setting up hashes To quickly process static sets of data such as server names, map directive’s values, MIME types, names of request header strings, nginx uses hash tables. During the start and each re-configuration nginx selects the minimum possible sizes of hash tables such that the bucket size that stores keys with identical hash values does not exceed the configured parameter (hash bucket size). The size of a table is expressed in buckets. The adjustment is continued until the table size ex

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.

session_log_zone

Syntax: session_log_zone path zone=name:size [format=format] [timeout=time] [id=id] [md5=md5] ; Default: — Context: http Sets the path to a log file and configures the shared memory zone that is used to store currently active sessions. A session is considered active for as long as the time elapsed since the last request in the session does not exceed the specified timeout (by default, 30 seconds). Once a session is no longer active, it is written to the l