server

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

ssl_protocols

Syntax: ssl_protocols [SSLv2] [SSLv3] [TLSv1] [TLSv1.1] [TLSv1.2]; Default: ssl_protocols TLSv1 TLSv1.1 TLSv1.2; Context: mail, server Enables the specified protocols. The TLSv1.1 and TLSv1.2 parameters work only when the OpenSSL library of version 1.0.1 or higher is used. The TLSv1.1 and TLSv1.2 parameters are supported starting from versions 1.1.13 and 1.0.12 so when the OpenSSL version 1.0.1 or higher is used on older nginx versions, these protocols work,

preread_timeout

Syntax: preread_timeout timeout; Default: preread_timeout 30s; Context: stream, server This directive appeared in version 1.11.5. Specifies a timeout of the preread phase.

ssl_ciphers

Syntax: ssl_ciphers ciphers; Default: ssl_ciphers HIGH:!aNULL:!MD5; Context: mail, server Specifies the enabled ciphers. The ciphers are specified in the format understood by the OpenSSL library, for example: ssl_ciphers ALL:!aNULL:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP; The full list can be viewed using the “openssl ciphers” command. The previous versions of nginx used different ciphers by default.

create_full_put_path

Syntax: create_full_put_path on | off; Default: create_full_put_path off; Context: http, server, location The WebDAV specification only allows creating files in already existing directories. This directive allows creating all needed intermediate directories.

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.

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.

fastcgi_cache_lock_age

Syntax: fastcgi_cache_lock_age time; Default: fastcgi_cache_lock_age 5s; Context: http, server, location This directive appeared in version 1.7.8. If the last request passed to the FastCGI server for populating a new cache element has not completed for the specified time, one more request may be passed to the FastCGI server.

limit_req_status

Syntax: limit_req_status code; Default: limit_req_status 503; Context: http, server, location This directive appeared in version 1.3.15. Sets the status code to return in response to rejected requests.

js_include

Syntax: js_include file; Default: — Context: http Specifies a file that implements location and variable handlers in nginScript.