Directive Reference
[ 240 ]
Directive Explanation Context/Default
msie_padding Enables the disabling of adding
comments to responses with
a status greater than 400 for
MSIE clients, in order to pad the
response size to 512 bytes.
Valid contexts: http,
server, location
Default value: on
msie_refresh This directive enables the sending
of a refresh instead of a
redirect for MSIE clients.
Valid contexts: http,
server, location
Default value: off
multi_accept Instructs a worker process to
accept all new connections at
once. Disregarded if the kqueue
event method is used because
kqueue reports the number of
new connections waiting to be
accepted.
Valid context: events
Default value: off
open_file_cache Configures a cache that can store
open file descriptors, directory
lookups, and file lookup errors.
Valid contexts: http,
server, location
Default value: off
open_file_cache_
errors
Enables the caching of the file
lookup errors by the open_file_
cache directive.
Valid contexts: http,
server, location
Default value: off
open_file_cache_
min_uses
Configures the minimum
number of uses for a file within
the inactive parameter to
open_file_cache for that file
descriptor to remain open in the
cache.
Valid contexts: http,
server, location
Default value: 1
open_file_cache_
valid
Specifies the time interval between
the validity checks for the items in
the open_file_cache directive.
Valid contexts: http,
server, location
Default value: 60s
open_log_file_cache Refer to the HTTP logging directives
table in the Logging section in
Chapter 6, The NGINX HTTP Server.
Valid contexts: http,
server, location
Default value: off
optimize_server_
names
This is deprecated. Use the
server_name_in_redirect
directive instead.
Valid contexts: http,
server
Default value: off