scgi_pass

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

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

scgi_pass localhost:9000;

or as a UNIX-domain socket path:

scgi_pass unix:/tmp/scgi.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:09:00
Comments
Leave a Comment

Please login to continue.