1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-07-01 22:35:45 +00:00

Merge pull request #323 from pabra/master

connect to uWSGI backends
This commit is contained in:
Jason Wilder
2016-09-09 14:16:08 -06:00
committed by GitHub
2 changed files with 16 additions and 0 deletions

View File

@ -78,6 +78,12 @@ In this example, the `my-nginx-proxy` container will be connected to `my-network
If you would like to connect to your backend using HTTPS instead of HTTP, set `VIRTUAL_PROTO=https` on the backend container.
### uWSGI Backends
If you would like to connect to uWSGI backend, set `VIRTUAL_PROTO=uwsgi` on the
backend container. Your backend container should than listen on a port rather
than a socket and expose that port.
### Default Host
To set the default host for nginx use the env var `DEFAULT_HOST=foo.bar.com` for example