Mastering Nginx

(Ron) #1
Appendix A

[ 227 ]

Directive Explanation Context/Default


fastcgi_store Enables storing responses


retrieved from a FastCGI server as
files on the disk. The on parameter
will use the alias or root
directive as the base path under
which to store the file. A string
may instead be given, to indicate
an alternative location to store the
files.

Valid contexts: http,
server, location
Default value: off

fastcgistore
access


Sets file access permissions for the
newly-created fastcgi_store
files.

Valid contexts: http,
server, location
Default value:
user:rw

fastcgi_tempfile
write_size


Limits the amount of data buffered
to a temporary file at one time, so
that NGINX will not be blocked
for too long on a single request.

Valid contexts: http,
server, location
Default value: 8k|16k
(platform dependent)

fastcgi_temp_path A directory where temporary


files may be buffered as they
are proxied from the FastCGI
server, optionally multilevel
deep. If a second, third, or fourth
parameter is given, these specify
a subdirectory heirarchy with the
parameter value as the number
of characters in the subdirectory
name.

Valid contexts: http,
server, location
Default value:
fastcgi_temp

flv Activates the flv module for this
location.


Valid context:
location
Default value: -
Free download pdf