by jaswilder · 12y ago · 0 comments
You can try nginx-proxy that wraps up the approach in a docker container. See https://registry.hub.docker.com/u/jwilder/nginx-proxy/.
Run that on your host and start your other containers on the host with VIRTUAL_HOST env variables and it will set up virtual host mappings via nginx automatically.