set req.http.X-Forwarded-Host = req.http.host;


Make X-Forwarded-Host compatible with Fastly shielding
if (!req.http.Fastly-FF) {
  set req.http.X-Forwarded-Host = req.http.host;
}