I’m having a similar issue. Can this be resolved by customizing the haproxy config? If so, can someone give me an example of what to add to the configs?
To be clear, I have path based routing for individual microservices and my services are returning 404 since the path is not included in the microservice path. I would like to do the following at the proxy layer.
/dfs/ -> /
/vms/ -> /
I found articles for how to structure the “reqrep” method of haproxy…
reqrep ^([^\ :])\ /dfs/(.) \1\ /\2
reqrep ^([^\ :])\ /vms/(.) \1\ /\2
But when I add this to the configs, the service fails to initialize.
I’m I missing something?