diff --git a/packages/gateway/src/gateway.js b/packages/gateway/src/gateway.js index a44e10819a..a90cea69b1 100644 --- a/packages/gateway/src/gateway.js +++ b/packages/gateway/src/gateway.js @@ -236,6 +236,7 @@ function getHeaders(request) { 'X-Forwarded-For': `${request.headers.get( 'cf-connecting-ip' )}${existingProxies}`, + 'X-Forwarded-Host': request.headers.get('host'), } }