Reputation: 25
I'm currently learning how to host websites and manage servers and especially how to host multisites inside a VPS. So I'm trying to set up a reverse proxy with jwilde/nginx-proxy. But what I'm trying to understand is :
Do you have any ideas ?
Upvotes: 1
Views: 591
Reputation: 61
I would suggest having a single container for your nginx reverse proxy, and only include nginx (or whatever other listener) where your other containers need one. You may have an opportunity to proxy_pass traffic directly to your Flask application without another nginx server.
However, your current setup and Annexe1 could be correct: you have the flexibility to use any host:port accepting traffic in your containers. It could even be another reverse proxy~ As long as your proxy_pass your traffic from your Reverse Proxy nginx to an appropriate listener.
Upvotes: 1