Appendix A
[ 219 ]
Directive Explanation Context/Default
charset_types Lists the MIME types of a response
in addition to text/html, in
which a character set conversion
will be made. It may be * to enable
all MIME types.
Valid contexts: http,
server, location
Default value: text/
html, text/xml,
text/plain, text/
vnd.wap.wml,
application/x-
javascript,
application/
rss+xml
chunkedtransfer
encoding
Allows disabling the standard
HTTP/1.1 chunked transfer
encoding in responses to the
clients.
Valid contexts: http,
server, location
Default value: on
client_bodybuffer
size
Used to set a buffer size for the
client request body larger than
the default two memory pages,
in order to prevent temporary
files from being written to disk.
Valid contexts: http,
server, location
Default value: 8k|16k
(platform dependent)
client_bodyin
file_only
Used for debugging or further
processing of the client request
body, this directive can be set
to on to force saving the client
request body to a file. The value
clean will cause the files to
be removed after the request
processing is finished.
Valid contexts: http,
server, location
Default value: off
client_bodyin
single_buffer
This directive will force NGINX to
save the entire client request body
in a single buffer, to reduce copy
operations.
Valid contexts: http,
server, location
Default value: off
client_bodytemp
path
Defines a directory path for
saving the client request body.
If a second, third, or fourth
parameter is given, these specify
a subdirectory hierarchy with the
parameter value as the number
of characters in the subdirectory
name.
Valid contexts: http,
server, location
Default value:
client_body_temp