pbojinov / request-ip

A Node.js module for retrieving a request's IP address on the server.
https://npmjs.com/package/request-ip
MIT License
828 stars 102 forks source link

Add DigitalOcean App Platform support #68

Closed www-chique closed 1 year ago

www-chique commented 2 years ago

DigitalOcean App Platform uses a header called "do-connecting-ip", similar to CloudFlare's "cf-connecting-ip". This commit adds support for apps hosted at DigitalOcean App Platform.

Read 1: https://www.digitalocean.com/community/questions/app-platform-client-ip Read 2: https://www.digitalocean.com/community/questions/accessing-request-ip-when-using-app-platform