node-http2-proxy icon indicating copy to clipboard operation
node-http2-proxy copied to clipboard

Fix x-forwarded Headers example

Open pakastin opened this issue 4 years ago • 0 comments

At least Chrome sends :authority pseudo header instead of host header, which breaks both this example and express vhost. Hence I added req.headers.host here as well.

pakastin avatar Oct 08 '21 16:10 pakastin