[edit] scgi_pass

syntax: scgi_pass scgi-server

default: none

context: location, if in location

Directive assigns the port or socket on which the SCGI-server is listening. Port can be indicated by itself or as an address and port, for example:

  scgi_pass   localhost:9000;

using a Unix domain socket:

  scgi_pass   unix:/tmp/scgi.socket;

You may also use an upstream block.

upstream backend  {
  server   localhost:1234;
}
 
scgi_pass   backend;

Module: HttpScgiModule