I want to setup a reverse proxy to allow me to expose a single IP and host multiple services via paths e.g.
https://FQDN/service1 --> backend1
https://FQDN/service2 --> backend2
https://FQDN/service3 --> backend3
Backend may be listening on port other than 443, some with http and some are https.
I have tried both approach on haproxy/nginx without success. Some servers just don't load properly or doesn't load at all.
What i noticed is that it works when frontend is on port 443 without any leading paths (e.g.
https://FQDN --> backend:someport. Does anyone have a simple config on either haproxy or nginx that I can pattern with?