Directive Reference
[ 258 ]
Directive Explanation Context/Default
tcp_nopush Relevant only when the sendfile
directive is used. Enables NGINX
to attempt to send response
headers in one packet, as well as
sending a file in full packets.
Valid contexts: http,
server, location
Default value: off
timeout The amount of time NGINX will
wait before a connection to the
backend server is finalized.
Valid contexts: mail,
server
Default value: 60s
timer_resolution Specifies how often
gettimeofday() is called
instead of each time a kernel event
is received.
Valid context: main
Default value: -
try_files Tests the existence of files given as
parameters. If none of the previous
files are found, the last entry is
used as a fallback, so ensure that
this path or named location
exists.
Valid contexts:
server, location
Default value: -
types Sets up a map of MIME types to
filename extensions. NGINX ships
with a conf/mime.types file
that contains most MIME type
mappings. Using include to load
this file should be sufficient for
most purposes.
Valid contexts: http,
server, location
Default value:
text/html
html;
image/gif
gif;
image/jpeg
jpg
types_hash_bucket_
size
The bucket size used to hold the
types hash tables.
Valid contexts: http,
server, location
Default value:
32|64|128 (processor
dependent)