location

Syntax: location [ = | ~ | ~* | ^~ ] uri { ... }location @name { ... } Default: — Context: server, location Sets configuration depending on a request URI. The matching is performed against a normalized URI, after decoding the text encoded in the “%XX” form, resolving references to relative path components “.” and “..”, and possible compression of two or more adjacent slashes into a single slash. A location can either be defined by a prefix string, or by a re

uwsgi_cache_max_range_offset

Syntax: uwsgi_cache_max_range_offset number; Default: — Context: http, server, location This directive appeared in version 1.11.6. Sets an offset in bytes for byte-range requests. If the range is beyond the offset, the range request will be passed to the uwsgi server and the response will not be cached.

limit_conn_zone

Syntax: limit_conn_zone key zone=name:size; Default: — Context: stream Sets parameters for a shared memory zone that will keep states for various keys. In particular, the state includes the current number of connections. The key can contain text, variables, and their combinations (1.11.2). Connections with an empty key value are not accounted. Usage example: limit_conn_zone $binary_remote_addr zone=addr:10m; Here, the key is a client IP address set by the $binary_remot

xclient

Syntax: xclient on | off; Default: xclient on; Context: mail, server Enables or disables the passing of the XCLIENT command with client parameters when connecting to the SMTP backend. With XCLIENT, the MTA is able to write client information to the log and apply various limitations based on this data. If XCLIENT is enabled then nginx passes the following commands when connecting to the backend: EHLO with the server name XCLIENT EHLO or HELO, as passed by the client

timer_resolution

Syntax: timer_resolution interval; Default: — Context: main Reduces timer resolution in worker processes, thus reducing the number of gettimeofday() system calls made. By default, gettimeofday() is called each time a kernel event is received. With reduced resolution, gettimeofday() is only called once per specified interval. Example: timer_resolution 100ms; Internal implementation of the interval depends on the method used: the EVFILT_TIMER filter if kqueue is used; timer

deny

Syntax: deny address | CIDR | unix: | all; Default: — Context: http, server, location, limit_except Denies access for the specified network or address. If the special value unix: is specified (1.5.1), denies access for all UNIX-domain sockets.

mp4_limit_rate_after

Syntax: mp4_limit_rate_after time; Default: mp4_limit_rate_after 60s; Context: http, server, location Sets the initial amount of media data (measured in playback time) after which the further transmission of the response to a client will be rate limited. This directive is available as part of our commercial subscription.

hls_forward_args

Syntax: hls_forward_args on | off; Default: hls_forward_args off; Context: http, server, location This directive appeared in version 1.5.12. Adds arguments from a playlist request to URIs of fragments. This may be useful for performing client authorization at the moment of requesting a fragment, or when protecting an HLS stream with the ngx_http_secure_link_module module. For example, if a client requests a playlist http://example.com/hls/test.mp4.m3u8?a=1&b=2, the arguments

auth_http_timeout

Syntax: auth_http_timeout time; Default: auth_http_timeout 60s; Context: mail, server Sets the timeout for communication with the authentication server.

proxy_send_timeout

Syntax: proxy_send_timeout time; Default: proxy_send_timeout 60s; Context: http, server, location Sets a timeout for transmitting a request to the proxied server. The timeout is set only between two successive write operations, not for the transmission of the whole request. If the proxied server does not receive anything within this time, the connection is closed.