Appendix A
[ 233 ]
Directive Explanation Context/Default
include The path to a file containing
additional configuration
directives. It may be specified as a
glob to include multiple files.
Valid context: any
Default value: -
index Defines which file will be served
to the client when a URI ending
with / is received. It may be
multivalued.
Valid contexts: http,
server, location
Default value: index.
html
internal Specifies a location that
can only be used for internal
requests (redirects defined in
other directives, rewrite requests,
and similar request processing
directives).
Valid context:
location
Default value: -
ip_hash Ensures the distribution of clients
evenly over all server by hashing
the IP address, keying on its class
C network.
Valid context:
upstream
Default value: -
keepalive The number of connections to
upstream servers that are cached
per worker process. When used
with HTTP connections, proxy_
http_version should be set to
1.1 and proxy_set_header to
Connection.
Valid context:
upstream
Default value: -
keepalive_disable Disables keep-alive requests for
certain browser types.
Valid contexts: http,
server, location
Default value: msie6
keepalive_requests Defines how many requests may
be made over one keepalive
connection before it is closed.
Valid contexts: http,
server, location
Default value: 100
keepalive_timeout Specifies how long a keep-alive
connection will stay open. A
second parameter may be given,
to set a Keep-Alive header in the
response.
Valid contexts: http,
server, location
Default value: 75s
largeclient
header_buffers
Defines the maximum number
and size of a large client request
header.
Valid contexts: http,
server
Default value: 4 8k