title: Redirect domain name in HAProxy while preserving the URL path
body: <p>I have HAProxy as front layer to our Node.js app and I'm looking for a way to rewrite URL. For example, if customers go to <code>https://aaa.example/product/123</code>, HAProxy will rewrite to URL <code>https://bbb.example/product/123</code>. is this possible to do in HAProxy? The important is we want to preserve the URL path (<code>product/123</code>) and just change the host name.</p>