Appendix A
[ 239 ]
Directive Explanation Context/Default
merge_slashes Disables the removal of multiple
slashes. The default value of on
means that NGINX will compress
two or more / characters into one.
Valid contexts: http,
server
Default value: on
min_delete_depth Allows the WebDAV DELETE
method to remove files when at
least this number of elements is
present in the request path.
Valid contexts: http,
server, location
Default value: 0
modern_browser Specifies a browser and version
parameter, which together will
indicate that the browser is
considered modern by setting
the $modern_browser variable
to modern_browservalue.
The browser parameter may
take one of the following values:
msie, gecko, opera, safari,
or konqueror. An alternative
parameter unlisted may be
specified to indicate that any
browser not found in ancient
browser nor in modern_
browser or has a missing User-
Agent header is considered
modern.
Valid contexts: http,
server, location
Default value: -
modernbrowser
value
The value to which the $modern_
browser variable will be set.
Valid contexts: http,
server, location
Default value: 1
mp4 Activates the mp4 module for this
location.
Valid context:
location
Default value: -
mp4_buffer_size Sets the initial buffer size for
delivering MP4 files.
Valid contexts: http,
server, location
Default value: 512K
mp4_max_buffer_size Sets the maximum size of the
buffer used to process MP4
metadata.
Valid contexts: http,
server, location
Default value: 10M