proxy_request_buffering

Syntax: proxy_request_buffering on | off; Default: proxy_request_buffering on; Context: http, server, location This directive appeared in version 1.7.11. Enables or disables buffering of a client request body. When buffering is enabled, the entire request body is read from the client before sending the request to a proxied server. When buffering is disabled, the request body is sent to the proxied server immediately as it is received. In this case, the request cannot be passed

ssl_dhparam

Syntax: ssl_dhparam file; Default: — Context: http, server This directive appeared in version 0.7.2. Specifies a file with DH parameters for DHE ciphers.

aio_write

Syntax: aio_write on | off; Default: aio_write off; Context: http, server, location This directive appeared in version 1.9.13. If aio is enabled, specifies whether it is used for writing files. Currently, this only works when using aio threads and is limited to writing temporary files with data received from proxied servers.

ssl_session_ticket_key

Syntax: ssl_session_ticket_key file; Default: — Context: stream, server Sets a file with the secret key used to encrypt and decrypt TLS session tickets. The directive is necessary if the same key has to be shared between multiple servers. By default, a randomly generated key is used. If several keys are specified, only the first key is used to encrypt TLS session tickets. This allows configuring key rotation, for example: ssl_session_ticket_key current.key; ssl_session_ticket_k

image_filter_webp_quality

Syntax: image_filter_webp_quality quality; Default: image_filter_webp_quality 80; Context: http, server, location This directive appeared in version 1.11.6. Sets the desired quality of the transformed WebP images. Acceptable values are in the range from 1 to 100. Lesser values usually imply both lower image quality and less data to transfer. Parameter value can contain variables.

sendfile_max_chunk

Syntax: sendfile_max_chunk size; Default: sendfile_max_chunk 0; Context: http, server, location When set to a non-zero value, limits the amount of data that can be transferred in a single sendfile() call. Without the limit, one fast connection may seize the worker process entirely.

proxy_buffer_size

Syntax: proxy_buffer_size size; Default: proxy_buffer_size 4k|8k; Context: http, server, location Sets the size of the buffer used for reading the first part of the response received from the proxied server. This part usually contains a small response header. By default, the buffer size is equal to one memory page. This is either 4K or 8K, depending on a platform. It can be made smaller, however.

http2_recv_timeout

Syntax: http2_recv_timeout time; Default: http2_recv_timeout 30s; Context: http, server Sets the timeout for expecting more data from the client, after which the connection is closed.

scgi_cache_lock

Syntax: scgi_cache_lock on | off; Default: scgi_cache_lock off; Context: http, server, location This directive appeared in version 1.1.12. When enabled, only one request at a time will be allowed to populate a new cache element identified according to the scgi_cache_key directive by passing a request to an SCGI server. Other requests of the same cache element will either wait for a response to appear in the cache or the cache lock for this element to be released, up to the time se

server

Syntax: server address [parameters]; Default: — Context: upstream Defines the address and other parameters of a server. The address can be specified as a domain name or IP address with an obligatory port, or as a UNIX-domain socket path specified after the “unix:” prefix. A domain name that resolves to several IP addresses defines multiple servers at once. The following parameters can be defined: weight=number sets the weight of the server, by default, 1. max_conns=number