fastcgi_pass

Syntax: fastcgi_pass address;
Default: โ€”
Context: location, if in location

Sets the address of a FastCGI server. The address can be specified as a domain name or IP address, and a port:

fastcgi_pass localhost:9000;

or as a UNIX-domain socket path:

fastcgi_pass unix:/tmp/fastcgi.socket;

If a domain name resolves to several addresses, all of them will be used in a round-robin fashion. In addition, an address can be specified as a server group.

doc_nginx
2017-02-09 07:06:11
Comments
Leave a Comment

Please login to continue.