sort out nginx reverse proxy