dvonlehman / express-request-proxy

Advanced streaming http request proxy middleware for Express with support for custom routes, caching, and response transforms.
96 stars 38 forks source link

Use host header to populate x-forwarded-host and x-forwarded-port #11

Closed DaleLJefferson closed 8 years ago

DaleLJefferson commented 8 years ago

The backend behind my proxy requires a x-forwarded-host and x-forwarded-port header. This pull request adds the relative information from the host header.