Mastering Nginx

(Ron) #1

Directive Reference


[ 226 ]

Directive Explanation Context/Default
fastcgi_pass Specifies the FastCGI server to
which the request is passed, either
as an address:port combination
or as unix:path for a UNIX-
domain socket.

Valid contexts:
location, if in
location
Default value: -

fastcgi_pass_header Overrides the disabled headers
set in fastcgi_hide_header,
allowing them to be sent to the
client.

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

fastcgi_read_
timeout

Specifies the length of time that
needs to elapse between two
successive read operations from
a FastCGI server before the
connection is closed.

Valid contexts: http,
server, location
Default value: 60s

fastcgi_send_lowat This is a FreeBSD directive. When
non-zero, it will tell NGINX to use
either the NOTE_LOWAT kqueue
method or the SO_SNDLOWAT
socket option with the specified
size when communicating with an
upstream server. Ignored in Linux,
Solaris, and Windows.

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

fastcgi_send_
timeout

The length of time that needs to
elapse between two successive
write operations to a FastCGI
server before the connection is
closed.

Valid contexts: http,
server, location
Default value: 60s

fastcgi_split_path_
info

Defines a regular expression with
two captures. The first capture will
be the value of the $fastcgi_
script_name variable. The
second capture becomes the value
of the $fastcgi_path_info
variable.

Valid context:
location
Default value: -
Free download pdf