multi_accept

Syntax: multi_accept on | off; Default: multi_accept off; Context: events If multi_accept is disabled, a worker process will accept one new connection at a time. Otherwise, a worker process will accept all new connections at a time. The directive is ignored if kqueue connection processing method is used, because it reports the number of new connections waiting to be accepted.

types_hash_max_size

Syntax: types_hash_max_size size; Default: types_hash_max_size 1024; Context: http, server, location Sets the maximum size of the types hash tables. The details of setting up hash tables are provided in a separate document.

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.

variables_hash_max_size

Syntax: variables_hash_max_size size; Default: variables_hash_max_size 1024; Context: stream This directive appeared in version 1.11.2. Sets the maximum size of the variables hash table. The details of setting up hash tables are provided in a separate document.

userid_domain

Syntax: userid_domain name | none; Default: userid_domain none; Context: http, server, location Defines a domain for which the cookie is set. The none parameter disables setting of a domain for the cookie.

proxy_ssl_password_file

Syntax: proxy_ssl_password_file file; Default: — Context: http, server, location This directive appeared in version 1.7.8. Specifies a file with passphrases for secret keys where each passphrase is specified on a separate line. Passphrases are tried in turn when loading the key.

keepalive

Syntax: keepalive connections; Default: — Context: upstream This directive appeared in version 1.1.4. Activates the cache for connections to upstream servers. The connections parameter sets the maximum number of idle keepalive connections to upstream servers that are preserved in the cache of each worker process. When this number is exceeded, the least recently used connections are closed. It should be particularly noted that the keepalive directive does not limit the total nu

daemon

Syntax: daemon on | off; Default: daemon on; Context: main Determines whether nginx should become a daemon. Mainly used during development.

state

Syntax: state file; Default: — Context: upstream This directive appeared in version 1.9.7. Specifies a file that keeps the state of the dynamically configurable group. Examples: state /var/lib/nginx/state/servers.conf; # path for Linux state /var/db/nginx/state/servers.conf; # path for FreeBSD The state is currently limited to the list of servers with their parameters. The file is read when parsing the configuration and is updated each time the upstream configuration is cha

limit_rate_after

Syntax: limit_rate_after size; Default: limit_rate_after 0; Context: http, server, location, if in location This directive appeared in version 0.8.0. Sets the initial amount after which the further transmission of a response to a client will be rate limited. Example: location /flv/ { flv; limit_rate_after 500k; limit_rate 50k; }