We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91fee3e commit 36bfe56Copy full SHA for 36bfe56
lib/http-proxy/passes/web-incoming.js
@@ -82,7 +82,7 @@ module.exports = {
82
values[header];
83
});
84
85
- req.headers['x-forwarded-host'] = req.headers['host'] || '';
+ req.headers['x-forwarded-host'] = req.headers['x-forwarded-host'] || req.headers['host'] || '';
86
},
87
88
/**
0 commit comments