Question

Have a single public IP and multiple backend private IPs to be able to run multiple sites via a reverse proxy thru nginx to Apache backends?

I currently have multiple;tiple sites/domains being hosted on a couple droplets with separate external IP’s. I would like to consolidate this into one IP so I have one droplet running NGinx reverse proxy to pass requests off to the Apache servers on the backend droplets. Is there a tutorial for this? Is this doable?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

no attachment capability here or I would attach the configs that work for this…

Sorry spoke too soon, I do not think this is possible unless you are using the dedicated server option.

Yes, in tomcat server.xml you simply specify separate ports, like 8080, 8082, and 8443. You can even have some https and some http running on the same ip.