addition_types

Syntax: addition_types mime-type ...; Default: addition_types text/html; Context: http, server, location This directive appeared in version 0.7.9. Allows adding text in responses with the specified MIME types, in addition to “text/html”. The special value “*” matches any MIME type (0.8.29).

scgi_cache

Syntax: scgi_cache zone | off; Default: scgi_cache off; Context: http, server, location Defines a shared memory zone used for caching. The same zone can be used in several places. Parameter value can contain variables (1.7.9). The off parameter disables caching inherited from the previous configuration level.

working_directory

Syntax: working_directory directory; Default: — Context: main Defines the current working directory for a worker process. It is primarily used when writing a core-file, in which case a worker process should have write permission for the specified directory.

master_process

Syntax: master_process on | off; Default: master_process on; Context: main Determines whether worker processes are started. This directive is intended for nginx developers.

scgi_next_upstream_tries

Syntax: scgi_next_upstream_tries number; Default: scgi_next_upstream_tries 0; Context: http, server, location This directive appeared in version 1.7.5. Limits the number of possible tries for passing a request to the next server. The 0 value turns off this limitation.

source_charset

Syntax: source_charset charset; Default: — Context: http, server, location, if in location Defines the source charset of a response. If this charset is different from the charset specified in the charset directive, a conversion is performed.

proxy_responses

Syntax: proxy_responses number; Default: — Context: stream, server This directive appeared in version 1.9.13. Sets the number of datagrams expected from the proxied server in response to the client request if the UDP protocol is used. By default, the number of datagrams is not limited: the response datagrams will be sent until the proxy_timeout value expires.

output_buffers

Syntax: output_buffers number size; Default: output_buffers 2 32k; Context: http, server, location Sets the number and size of the buffers used for reading a response from a disk. Prior to version 1.9.5, the default value was 1 32k.

uwsgi_cache_min_uses

Syntax: uwsgi_cache_min_uses number; Default: uwsgi_cache_min_uses 1; Context: http, server, location Sets the number of requests after which the response will be cached.

uwsgi_cache_bypass

Syntax: uwsgi_cache_bypass string ...; Default: — Context: http, server, location Defines conditions under which the response will not be taken from a cache. If at least one value of the string parameters is not empty and is not equal to “0” then the response will not be taken from the cache: uwsgi_cache_bypass $cookie_nocache $arg_nocache$arg_comment; uwsgi_cache_bypass $http_pragma $http_authorization; Can be used along with the uwsgi_no_cache directive.