haproxy configuration for various purpose