CloudFlare IP Ranges
The list of CloudFlare IPs (IP ranges) to be used in the "trust proxy"
configurations.
How to Use
$ npm install cloudflare-ips
const express = require('express');
const cloudflareIPs = require('cloudflare-ips');
const app = express();
cloudflareIPs((err, ips) => app.set('trust proxy', ['loopback', ...ips]));
app.listen(8080);
Related Projects
License
Copyright © 2017-present Kriasoft. This source code is licensed under the MIT license found in the
LICENSE.txt file.
Made with ♥ by Konstantin Tarkus (@koistya, blog)