Fixed upstream configuration

Allow NGINX to act as a proxy properly.