reverse proxy with nginx

Started by rudiratlos63, October 31, 2022, 04:56:29 PM

Previous topic - Next topic
Hi,
I have one public IP/domain name. I want to access multiple backend http(s) servers (upstreams).
I have it working with one backend http server (int ip 10.0.0.5).
https://myhost.mydom.com will show content of internal webserver

now I want to have 2 seperate internal webservers (int ip 10.0.0.5 and 10.0.0.6):
access from internet:
https://myhost.mydom.com/server1
https://myhost.mydom.com/server2

how to achive this?
I want to get rid of the server1 and server2 url part, which will reach the internal web servers.

Any ideas, working examples?

regards
rudi