DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Bobby Iliev
Bobby Iliev

Posted on • Originally published at digitalocean.com

[VIDEO] How to Host Multiple Docker Containers on a Single Server with Nginx Reverse Proxy?

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)

Collapse
karawitan profile image
karawitan

Hello Bobby, thank you very much for sharing this simple and efficient procedure. Did you try to setup the same using traefik ?

Collapse
bobbyiliev profile image
Bobby Iliev Author

Hey πŸ‘‹! Thanks for the feedback!

I've not worked with traefik much, I should really check it out!

πŸ‘‹ Welcome new DEV members in our Welcome Thread

Say hello to the newest members of DEV.