Configures nginx as a reverse proxy