added reverse proxy snippet to deal with nginx