2 min read
I build a lot of websites, and I run them in Docker containers. What happens is, I end up with URLs like this 0.0.0.0:1234
.
This is a problem because,
My initial solution was to add a reverse proxy with Nginx so I have virtual hosts that point to my containers. However, this means I was writing the same Nginx configuration, over and over again, only with different ports.
So as any sane developer will do, I took a couple hours to automate the process once and for all.
I ended up creating a docker image to generate my configuration files and be a proper reverse proxy. You can find it here
I’ll add more features as I discover more use cases. Let me know if there is anything.
Proper details on how to use are in the README.md
of the repository. If you like it, star on GitHub.
WordPress is a very popular and flexible Content Management System (CMS). If you build websites, you are likely to have worked with (or had someone a...
6 min read
Let me show you how I use Docker, Nginx and Let’s encrypt to host my websites and serve secure https content. I use Docker to host a lot of my webs...
6 min read
Comments