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
| Name | Type | Description |
|---|---|---|
| destination | host:port | unix:path | upstream name | expression | Select a compatible uwsgi backend; variable DNS targets may require a resolver. |
| protocol_prefix | uwsgi:// | suwsgi:// | Optional scheme before the destination. TLS transport requires independent certificate validation. |
Working Example
Example Snippetnginx
uwsgi_pass 127.0.0.1:19032;