Skip to content

Instantly share code, notes, and snippets.

View danitfk's full-sized avatar

danitfk danitfk

View GitHub Profile
@danitfk
danitfk / nginx-cloudflare.conf
Created March 6, 2018 15:59
Nginx Cloudflare IP to show real user's IP
set_real_ip_from 103.21.244.0/22;
set_real_ip_from 103.22.200.0/22;
set_real_ip_from 103.31.4.0/22;
set_real_ip_from 104.16.0.0/12;
set_real_ip_from 108.162.192.0/18;
set_real_ip_from 131.0.72.0/22;
set_real_ip_from 141.101.64.0/18;
set_real_ip_from 162.158.0.0/15;
set_real_ip_from 172.64.0.0/13;
set_real_ip_from 173.245.48.0/20;