js_access

Syntax: js_access function; Default: — Context: stream, server Sets an nginScript function which will be called at the access phase.

ssi_types

Syntax: ssi_types mime-type ...; Default: ssi_types text/html; Context: http, server, location Enables processing of SSI commands in responses with the specified MIME types in addition to “text/html”. The special value “*” matches any MIME type (0.8.29).

js_preread

Syntax: js_preread function; Default: — Context: stream, server Sets an nginScript function which will be called at the preread phase.

js_content

Syntax: js_content function; Default: — Context: location, limit_except Sets an nginScript function as a location content handler.

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.

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.

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.