perl_require

Syntax: perl_require module; Default: — Context: http Defines the name of a module that will be loaded during each reconfiguration. Several perl_require directives can be present.

perl

Syntax: perl module::function|'sub { ... }'; Default: — Context: location, limit_except Sets a Perl handler for the given location.

override_charset

Syntax: override_charset on | off; Default: override_charset off; Context: http, server, location, if in location Determines whether a conversion should be performed for answers received from a proxied or a FastCGI/uwsgi/SCGI server when the answers already carry a charset in the “Content-Type” response header field. If conversion is enabled, a charset specified in the received response is used as a source charset. It should be noted that if a response is received in a subrequest

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.

pcre_jit

Syntax: pcre_jit on | off; Default: pcre_jit off; Context: main This directive appeared in version 1.1.12. Enables or disables the use of “just-in-time compilation” (PCRE JIT) for the regular expressions known by the time of configuration parsing. PCRE JIT can speed up processing of regular expressions significantly. The JIT is available in PCRE libraries starting from version 8.20 built with the --enable-jit configuration parameter. When the PCRE library is built with nginx (

open_file_cache_valid

Syntax: open_file_cache_valid time; Default: open_file_cache_valid 60s; Context: http, server, location Sets a time after which open_file_cache elements should be validated.

open_log_file_cache

Syntax: open_log_file_cache max=N [inactive=time] [min_uses=N] [valid=time];open_log_file_cache off; Default: open_log_file_cache off; Context: http, server, location Defines a cache that stores the file descriptors of frequently used logs whose names contain variables. The directive has the following parameters: max sets the maximum number of descriptors in a cache; if the cache becomes full the least recently used (LRU) descriptors are closed inactive sets the time after whi

open_log_file_cache

Syntax: open_log_file_cache max=N [inactive=time] [min_uses=N] [valid=time];open_log_file_cache off; Default: open_log_file_cache off; Context: stream, server Defines a cache that stores the file descriptors of frequently used logs whose names contain variables. The directive has the following parameters: max sets the maximum number of descriptors in a cache; if the cache becomes full the least recently used (LRU) descriptors are closed inactive sets the time after which the c

open_file_cache_errors

Syntax: open_file_cache_errors on | off; Default: open_file_cache_errors off; Context: http, server, location Enables or disables caching of file lookup errors by open_file_cache.

open_file_cache

Syntax: open_file_cache off;open_file_cache max=N [inactive=time]; Default: open_file_cache off; Context: http, server, location Configures a cache that can store: open file descriptors, their sizes and modification times; information on existence of directories; file lookup errors, such as “file not found”, “no read permission”, and so on. Caching of errors should be enabled separately by the open_file_cache_errors directive. The directive has the following parameters