Switched haproxy config to use templates