trust-proxy

1.0.0 • Public • Published

trust-proxy

Middleware to trust the closest proxy for IP and protocol data. For if you're behind a reverse proxy or load balancer (such as on Nodejitsu) Fixes req.connection.remoteAddress, adds req.proto and req.secure. Inspired by the trust proxy option of Express.

Readme

Keywords

none

Package Sidebar

Install

npm i trust-proxy

Weekly Downloads

4

Version

1.0.0

License

MIT

Last publish

Collaborators

  • nathan7