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

Опубликовано: 25 Февраль 2025
на канале: Bobby Iliev
62,036
958

Recently I had to set up 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.

This is a quick demo on how I set that up!

I use DigitalOcean for all of my demos, you can use the link below to get a free $100 credit and spin up your own Linux servers!

https://m.do.co/c/2a9bba940f39

Website: https://bobbyiliev.com
Twitter:   / bobbyiliev_