Make it work behind a reverse proxy