This does the redirect just fine but if I pass the url in my browser domain.com/anyvar then it also redirects to newdomain.com/anyvar which does not exist in the new domain. I want anything after the / to be stripped away and only redirect to the new root domain (ie: newdomain.com only)
Could anyone please help me in achieving this. Your help is much appreciated.
(HA-Proxy version 1.5.18)