cmorten / opine

Minimalist web framework for Deno ported from ExpressJS.
https://github.com/cmorten/opine/blob/main/.github/API/api.md
MIT License
854 stars 43 forks source link

[FEAT] Support `trust proxy` application setting #72

Closed asos-craigmorten closed 4 years ago

asos-craigmorten commented 4 years ago

Issue

Setup:

This issue is to support the trust proxy (and trust proxy fn) application setting, allowing users to indicate their Opine app is behind a front-facing proxy.

This issue includes the support of req.ip() and req.ips() APIs.

Details

See: