I would like to implement a configuration that allows me to redirect requests to two internal web servers. In the case where it is indicated as url http://sowinproxy the requests must be directed to the server 10.200.80.96, while if the request is http://sowinproxy/blog the requests must be redirected to the 10.200.80.97 server.
acl is_blog path_reg ^/blog/.
use_backend tecadmin_blog if is_blog
server web2 10.200.80.97 check
server web1 10.200.80.96:80 check
The configuration is in the spoiler, but it does not work properly. Can you help me? Thank you