Read the host header instead of the hostname reported by nginx