Haproxy behind CloudFlare

Using the built in SSL that CF provides is causing problems in Wordpress. I am most interested in seeing how to set up a listen configuration in haproxy.cfg