adding backend support to nginx configuration.