Use sub-url to identify the different server
nevereturn01
nginx-forum at forum.nginx.org
Thu Jan 10 07:54:14 UTC 2019
Hi experts,
I have 2 internal web hosts & 1 dedicate Nginx as reverse proxy, eg 10.1.1.1
& 10.1.1.2
Now, I need to access the different hosts via sub-url. eg:
1. https://www.domain.com/site1 -----> https://10.1.1.1/
https://www.domain.com/site1/ui -----> https://10.1.1.1/ui/
2. https://www.domain.com/site2 -----> https://10.1.1.2/
https://www.domain.com/site2/ui -----> https://10.1.1.2/ui/
Any suggestions?
Thanks in advance
Posted at Nginx Forum: https://forum.nginx.org/read.php?2,282615,282615#msg-282615
More information about the nginx
mailing list