Redirection subdirectory

Good afternoon people!

I need to do an echelon with two servers with haproxy.

I need a www.xxx.com domain to work on one backend server and when they enter www.xxx.com/yyy the same domain will work on another server pointing to another backend.

type:

hapro

I separated the servers everything that is / subdirectory it open taking the folder of the server 02, opening normal domain opens by the server 01.

I am using haproxy 1.5

Checkout this post for a broad idea:

Details about single configuration keywords can be found in the manual:
https://cbonte.github.io/haproxy-dconv/1.5/configuration.html

1 Like