Syntax: | uwsgi_pass [ |
---|---|
Default: | — |
Context: | location , if in location |
Sets the protocol and address of a uwsgi server. As a protocol
, “uwsgi
” or “suwsgi
” (secured uwsgi, uwsgi over SSL) can be specified. The address can be specified as a domain name or IP address, and a port:
uwsgi_pass localhost:9000; uwsgi_pass uwsgi://localhost:9000; uwsgi_pass suwsgi://[2001:db8::1]:9090;
or as a UNIX-domain socket path:
uwsgi_pass unix:/tmp/uwsgi.socket;
If a domain name resolves to several addresses, all of them will be used in a round-robin fashion. In addition, an address can be specified as a server group.
Secured uwsgi protocol is supported since version 1.5.8.
Please login to continue.