HAProxy configuration generation added with weights