uwsgi_pass

Syntax: uwsgi_pass [protocol://]address;
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.
doc_nginx
2017-02-09 07:10:06
Comments
Leave a Comment

Please login to continue.