map_hash_max_size

Syntax: map_hash_max_size size; Default: map_hash_max_size 2048; Context: http Sets the maximum size of the map variables hash tables. The details of setting up hash tables are provided in a separate document.

map_hash_max_size

Syntax: map_hash_max_size size; Default: map_hash_max_size 2048; Context: stream Sets the maximum size of the map variables hash tables. The details of setting up hash tables are provided in a separate document.

map_hash_bucket_size

Syntax: map_hash_bucket_size size; Default: map_hash_bucket_size 32|64|128; Context: stream Sets the bucket size for the map variables hash tables. Default value depends on the processor’s cache line size. The details of setting up hash tables are provided in a separate document.

map_hash_bucket_size

Syntax: map_hash_bucket_size size; Default: map_hash_bucket_size 32|64|128; Context: http Sets the bucket size for the map variables hash tables. Default value depends on the processor’s cache line size. The details of setting up hash tables are provided in a separate document.

map

Syntax: map string $variable { ... } Default: — Context: stream Creates a new variable whose value depends on values of one or more of the source variables specified in the first parameter. Since variables are evaluated only when they are used, the mere declaration even of a large number of “map” variables does not add any extra costs to connection processing. Parameters inside the map block specify a mapping between source and resulting values. Source values are spe

log_subrequest

Syntax: log_subrequest on | off; Default: log_subrequest off; Context: http, server, location Enables or disables logging of subrequests into access_log.

mail

Syntax: mail { ... } Default: — Context: main Provides the configuration file context in which the mail server directives are specified.

map

Syntax: map string $variable { ... } Default: — Context: http Creates a new variable whose value depends on values of one or more of the source variables specified in the first parameter. Before version 0.9.0 only a single variable could be specified in the first parameter. Since variables are evaluated only when they are used, the mere declaration even of a large number of “map” variables does not add any extra costs to request processing. Parameters inside the map

log_format

Syntax: log_format name [escape=default|json] string ...; Default: — Context: stream Specifies the log format, for example: log_format proxy '$remote_addr [$time_local] ' '$protocol $status $bytes_sent $bytes_received ' '$session_time "$upstream_addr" ' '"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"'; The escape parameter (1.11.8) allows setting json or default characters escaping in va

log_format

Syntax: log_format name [escape=default|json] string ...; Default: log_format combined "..."; Context: http Specifies log format. The escape parameter (1.11.8) allows setting json or default characters escaping in variables, by default, default escaping is used. The log format can contain common variables, and variables that exist only at the time of a log write: $bytes_sent the number of bytes sent to a client $connection connection serial number $connection