A load balancer is setup with 2 backends.
The request URI will look like the following:
So the question is how to configure haproxy in such a way that if the first request uri comes, it should be redirected to one of the backend and if the request uri comes in the second uri format, the only difference is /tag-02/, the request should be handled to the 2nd backend ??
A haproxy config file for this would be much appreciated with a bit of explanation, since I'm new to haproxy!