perl_modules

Syntax: perl_modules path; Default: — Context: http Sets an additional path for Perl modules.

perl

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

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 (

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.

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_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_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_file_cache_min_uses

Syntax: open_file_cache_min_uses number; Default: open_file_cache_min_uses 1; Context: http, server, location Sets the minimum number of file accesses during the period configured by the inactive parameter of the open_file_cache directive, required for a file descriptor to remain open in the cache.

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.