[edit] fastcgi_pass

Syntax: fastcgi_pass address
Default:
Context: location
if in location
Reference: fastcgi_pass


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

  fastcgi_pass   localhost:9000;

using a Unix domain socket:

  fastcgi_pass   unix:/tmp/fastcgi.socket;

You may also use an upstream block.

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

Module: HttpFastcgiModule