@oguruma
Disabling transparent-client-ip on haproxy would probably make it work.?.
Or make haproxy use a different port on the webserver for handling its requests. (Configure the webserver to listen on 2 ports, one for direct requests :443, the other for example :1443 for haproxy's transparent requests.)