Always override X-Forwarded-Protocol and X-Forwarded-Port headers