HTTP uwsgi directives

uwsgi_pass directive

Location or if in location; routes to a uwsgi or secure uwsgi endpoint, not HTTP.

Formal Syntax & Structure

nginx syntaxnginx
uwsgi_pass [protocol://]address;

Parameters & Attributes

NameTypeDescription
destinationhost:port | unix:path | upstream name | expressionSelect a compatible uwsgi backend; variable DNS targets may require a resolver.
protocol_prefixuwsgi:// | suwsgi://Optional scheme before the destination. TLS transport requires independent certificate validation.

Working Example

Example Snippetnginx
uwsgi_pass 127.0.0.1:19032;
Nginx Reference