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:
1 2 3 |
or as a UNIX-domain socket path:
1 | 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.