Generate haproxy configuration