xin

Directive reference

uwsgi_pass

Sends a request to a uwsgi-protocol application.

Syntaxuwsgi_pass address | unix:path | upstream_name;
Contextslocationif in location
Defaultnone

Behavior

The target is not a URL. uwsgi_param directives build the WSGI environment and modifiers are supported.

Example

location /app/ {
    uwsgi_pass unix:/run/uwsgi/app.sock;
    include uwsgi_params;
}

Related directives

uwsgi_param