HAProxy with different Frontend and Backend URLs
-
Hello,
My HAPeoxy listing to the URL example.corp.example.com on port 443, if it match, the frontend will use the Backend as in the screenshot bellow:
I can now open the url from any client “example.corp.example.com” but when I open any directory on the website (for example “example.corp.example.com/wp-admin”) the client is getting automatically redirected to a new url “example.com/wp-admin”This post helped me to make the ACL “http-request header set” as you see in the screenshot.
Re: HAProxy reverse proxy with host headersBut I wonder what shall I do next to let the client stay on example.corp.rikazsd.com/***** ?
I appreciate any help. Thanks a lot.