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

option.xfwd - add header "X-Forwarded-Host"

Open chimurai opened this issue 10 years ago • 2 comments
trafficstars

Should X-Forwarded-Host be added when xfwd is set to true?

Current x-forwarded-* fields:

  • x-forwarded-for
  • x-forwarded-port
  • x-forwarded-proto

x-forwarded-port is probably redundant as x-forwarded-host includes the port number. See Wikipedia

Implementation of xfwd code

chimurai avatar Sep 24 '15 15:09 chimurai