[edit] uwsgi_pass

syntax: uwsgi_pass uwsgi-server

default: none

context: location, if in location

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

  uwsgi_pass   localhost:9000;

using a Unix domain socket:

  uwsgi_pass   unix:/tmp/uwsgi.socket;

You may also use an upstream block.

upstream backend  {
  server 127.0.0.1:1234;
  server unix:/var/run/example.com.sock;
}
 
uwsgi_pass   backend;

Module: HttpUwsgiModule