We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e1b2f4c + ef86b50 commit c1440b5Copy full SHA for c1440b5
lib/http-proxy/passes/web-incoming.js
@@ -78,6 +78,8 @@ web_o = Object.keys(web_o).map(function(pass) {
78
(req.headers['x-forwarded-' + header] ? ',' : '') +
79
values[header];
80
});
81
+
82
+ req.headers['x-forwarded-host'] = req.headers['host'];
83
},
84
85
/**
0 commit comments