Mastering Nginx

(Ron) #1
Appendix A

[ 225 ]

Directive Explanation Context/Default


fastcgiignore
client_abort


If set to on, NGINX will not abort
the connection to a FastCGI server
if the client aborts the connection.

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

fastcgiignore
headers


Sets which headers may be
disregarded when processing the
response from the FastCGI server.

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

fastcgi_index Sets the name of a file to be
appended to $fastcgiscript
name that ends with a slash.


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

fastcgiintercept
errors


If enabled, NGINX will display a
configured error_page directive
instead of the response directly
from the FastCGI server.

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

fastcgi_keep_conn Enables the keepalive
connections to the FastCGI servers
by instructing the server not to
immediately close the connection.


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

fastcgi_maxtemp
file_size


The maximum size of the overflow
file, written when the response
doesn't fit into the memory
buffers.

Valid contexts: http,
server, location
Default value: 1024m

fastcginext
upstream


Refer to the FastCGI directives
table in the Using NGINX with
PHP-FPM section in Chapter 6,
The NGINX HTTP Server.

Valid contexts: http,
server, location
Default value: error
timeout

fastcgi_no_cache One or more string variables,


which when non-empty or non-
zero will instruct NGINX not
to save the response from the
FastCGI server in the cache.

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

fastcgi_param Sets a parameter and its value to
be passed to the FastCGI server.
If the parameter should only be
passed when the value is non-
empty, the additional ifnot
empty parameter should be set.


Valid contexts: http,
server, location
Default value: -
Free download pdf