allow reverse proxy
Made it possible to run behind a reverse proxy