Recently I had to setup a few small Docker containers for a couple of small websites.
As the sites were really small I didn’t want to run each one on a separate Droplet, so instead, I used Nginx with separate Nginx server blocks for each site and a reverse proxy for each Docker container.
Here’s how I set that up:
Post: How to Host Multiple Docker Containers on a Single Droplet with Nginx Reverse Proxy?
Top comments (2)
Hello Bobby, thank you very much for sharing this simple and efficient procedure. Did you try to setup the same using traefik ?
Hey 👋! Thanks for the feedback!
I've not worked with traefik much, I should really check it out!