Handle being behind a reverse-proxy better.