Appendix A
[ 249 ]
Directive Explanation Context/Default
proxy_timeout If a timeout beyond the default of
24 hours is required, this directive
can be used.
Valid contexts: mail,
server
Default value: 24h
random_index Activates randomly choosing a file
to be served to the client when a
URI ending with / is received.
Valid context:
location
Default value: off
read_ahead If possible, the kernel will preread
files up to the size parameter.
Supported on current FreeBSD
and Linux (the size parameter is
ignored on Linux).
Valid contexts: http,
server, location
Default value: 0
real_ip_header Sets the header whose value is
used as the client IP address when
set_real_ip_from matches the
connecting IP.
Valid contexts: http,
server, location
Default value:
X-Real-IP
real_ip_recursive Works with set_real_ip_from,
to specify that the last address in
a multi-valued real_ip_header
header will be used.
Valid contexts: http,
server, location
Default value: off
recursiveerror
pages
Enables doing more than one
redirect using the error_page
directive (default is off).
Valid contexts: http,
server, location
Default value: off
refererhash
bucket_size
The bucket size of the valid
referers hash tables.
Valid contexts:
server, location
Default value: 64
referer_hashmax
size
The maximum size of the valid
referers hash tables.
Valid contexts:
server, location
Default value: 2048
request_pool_size Fine tunes per-request memory
allocation.
Valid contexts: http,
server
Default value: 4k
resettimedout
connection
With this directive enabled,
connections that have been timed
out will immediately be reset,
freeing all associated memory.
The default is to leave the socket
in the FIN_WAIT1 state, which
will always be the case for the
keepalive connections.
Valid contexts: http,
server, location
Default value: off