DEV Community

Discussion on: DEPLOY YOUR WEB APPLICATIONS IN A MINUTE - MADE WITH 💖 FOR DOCKERISTS

Collapse
 
crazyoptimist profile image
crazyoptimist • Edited

When it comes to hosting multiple web apps on one machine, it makes me to avoid redundant nginx containers and a few more benefits ..
I found it more painless. Is there any reason to use nginx containers every time or any security concerns? Let me know, I'd love to learn from you!

Collapse
 
robkenis profile image
Rob Kenis

There's no security concern I can think of right now. I was thinking more about using the same setup when developing and in production. For example, when I have 2 projects on my machine with a different nginx config, it would be easier to run both in a container and manage the applications and nginx in docker-compose. Then after it works locally, you can bring your entire nginx container to production.

Thread Thread
 
crazyoptimist profile image
crazyoptimist

I agree with you.
Different nginx configuration across multiple apps on the same machine. 👍