Appendix A
[ 245 ]
Directive Explanation Context/Default
proxy_cookie_path Replaces the path attribute of the
Set-Cookie header from the
upstream server; the path to be
replaced can either be a string or a
regular expression, or reference a
variable.
Valid contexts: http,
server, location
Default value: off
proxy_headerhash
bucket_size
The bucket size used to hold proxy
header names (one name cannot
be longer than the value of this
directive).
Valid contexts: http,
server, location,
if
Default value: 64
proxy_headerhash
max_size
The total size of headers received
from the upstream server.
Valid contexts: http,
server, location
Default value: 512
proxy_hide_header A list of header fields that should
not be passed on to the client.
Valid contexts: http,
server, location
Default value: -
proxy_http_version The HTTP protocol version used
to communicate with upstream
servers (use 1.1 for keepalive
connections).
Valid contexts: http,
server, location
Default value: 1.0
proxyignore
client_abort
If set to on, NGINX will not abort
the connection to an upstream
server if the client aborts the
connection.
Valid contexts: http,
server, location
Default value: off
proxyignore
headers
Sets which headers may be
disregarded when processing
the response from the upstream
server.
Valid contexts: http,
server, location
Default value: -
proxyintercept
errors
If enabled, NGINX will display a
configured error_page instead
of the response directly from the
upstream server.
Valid contexts: http,
server, location
Default value: off
proxy_maxtemp
file_size
The maximum size of the overflow
file, written when the response
doesn't fit into memory buffers.
Valid contexts: http,
server, location
Default value: 1024m