We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b035cd0 commit 3c98d77Copy full SHA for 3c98d77
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