uwsgi_cache_lock_timeout

Syntax: uwsgi_cache_lock_timeout time; Default: uwsgi_cache_lock_timeout 5s; Context: http, server, location This directive appeared in version 1.1.12. Sets a timeout for uwsgi_cache_lock. When the time expires, the request will be passed to the uwsgi server, however, the response will not be cached. Before 1.7.8, the response could be cached.

max_ranges

Syntax: max_ranges number; Default: — Context: http, server, location This directive appeared in version 1.1.2. Limits the maximum allowed number of ranges in byte-range requests. Requests that exceed the limit are processed as if there were no byte ranges specified. By default, the number of ranges is not limited. The zero value disables the byte-range support completely.

server

Syntax: server { ... } Default: — Context: mail Sets the configuration for a server.

uwsgi_hide_header

Syntax: uwsgi_hide_header field; Default: — Context: http, server, location By default, nginx does not pass the header fields “Status” and “X-Accel-...” from the response of a uwsgi server to a client. The uwsgi_hide_header directive sets additional fields that will not be passed. If, on the contrary, the passing of fields needs to be permitted, the uwsgi_pass_header directive can be used.

mp4

Syntax: mp4; Default: — Context: location Turns on module processing in a surrounding location.

proxy_ssl

Syntax: proxy_ssl on | off; Default: proxy_ssl off; Context: stream, server Enables the SSL/TLS protocol for connections to a proxied server.

imap_client_buffer

Syntax: imap_client_buffer size; Default: imap_client_buffer 4k|8k; Context: mail, server Sets the IMAP commands read buffer size. By default, the buffer size is equal to one memory page. This is either 4K or 8K, depending on a platform.

gunzip_buffers

Syntax: gunzip_buffers number size; Default: gunzip_buffers 32 4k|16 8k; Context: http, server, location Sets the number and size of buffers used to decompress a response. By default, the buffer size is equal to one memory page. This is either 4K or 8K, depending on a platform.

uwsgi_ssl_session_reuse

Syntax: uwsgi_ssl_session_reuse on | off; Default: uwsgi_ssl_session_reuse on; Context: http, server, location This directive appeared in version 1.5.8. Determines whether SSL sessions can be reused when working with a secured uwsgi server. If the errors “SSL3_GET_FINISHED:digest check failed” appear in the logs, try disabling session reuse.

proxy_ssl_certificate

Syntax: proxy_ssl_certificate file; Default: — Context: http, server, location This directive appeared in version 1.7.8. Specifies a file with the certificate in the PEM format used for authentication to a proxied HTTPS server.