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:

1
scgi_pass localhost:9000;

or as a UNIX-domain socket path:

1
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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.