perl_set

Syntax: perl_set $variable module::function|'sub { ... }'; Default: — Context: http Installs a Perl handler for the specified variable.

proxy_buffer

Syntax: proxy_buffer size; Default: proxy_buffer 4k|8k; Context: mail, server Sets the size of the buffer used for proxying. By default, the buffer size is equal to one memory page. Depending on a platform, it is either 4K or 8K.

memcached_read_timeout

Syntax: memcached_read_timeout time; Default: memcached_read_timeout 60s; Context: http, server, location Defines a timeout for reading a response from the memcached server. The timeout is set only between two successive read operations, not for the transmission of the whole response. If the memcached server does not transmit anything within this time, the connection is closed.

js_set

Syntax: js_set $variable function; Default: — Context: stream Sets an nginScript function for the specified variable.

uwsgi_ssl_verify_depth

Syntax: uwsgi_ssl_verify_depth number; Default: uwsgi_ssl_verify_depth 1; Context: http, server, location This directive appeared in version 1.7.0. Sets the verification depth in the secured uwsgi server certificates chain.

uwsgi_ssl_name

Syntax: uwsgi_ssl_name name; Default: uwsgi_ssl_name host from uwsgi_pass; Context: http, server, location This directive appeared in version 1.7.0. Allows overriding the server name used to verify the certificate of the secured uwsgi server and to be passed through SNI when establishing a connection with the secured uwsgi server. By default, the host part from uwsgi_pass is used.

Debugging nginx with DTrace pid provider

Debugging nginx with DTrace pid provider This article assumes the reader has a general knowledge of nginx internals and DTrace. Although nginx built with the --with-debug option already provides a lot of information about request processing, it is sometimes desirable to trace particular parts of code path more thoroughly and at the same time omit the rest of debugging output. DTrace pid provider (available on Solaris, Mac OS X) is a useful tool to explore userland program’s internals, since

hls_fragment

Syntax: hls_fragment time; Default: hls_fragment 5s; Context: http, server, location Defines the default fragment length for playlist URIs requested without the “len” argument.

Building nginx on the Win32 platform with Visual C

Building nginx on the Win32 platform with Visual C Build steps See also

ssl_client_certificate

Syntax: ssl_client_certificate file; Default: — Context: http, server Specifies a file with trusted CA certificates in the PEM format used to verify client certificates and OCSP responses if ssl_stapling is enabled. The list of certificates will be sent to clients. If this is not desired, the ssl_trusted_certificate directive can be used.