I currently have an internal ALB (Not accessible to the world) with some microservices running. I now want the world to access certain microservices.
I would like to place a HAProxy cluster in front of my internal ALB that proxies the requests through it.
backend microservices
reqrep ^([^\ :]*)\ /microservice/(.*) \1\ /\2
The above piece of config catches all the requests coming from hostnames that contain the word microservice. That seems to work. But how can I proxy them?