I am using haproxy 2.4.2 as a front end for some legacy windows applications. Part of this is rewriting the Host: header to match what the application expects. I use these rules in the backend section.
acl h_host_exists req.hdr(Host) -m found
http-request del-header Host if h_host_exists
http-request set-header Host expected-name.example.com
One of the IIS admins is claiming that the header is not being rewritten so is there a way to log the before and after?