add nginx as optional reverse proxy