Proper support for reverse proxy configuration