update cf ip list in config
[packages/apache-mod_cloudflare.git] / apache.conf
1 LoadModule cloudflare_module modules/mod_cloudflare.so
2
3 <IfModule mod_cloudflare.c>
4         CloudFlareRemoteIPHeader CF-Connecting-IP
5         # CloudFlare IP Ranges from https://www.cloudflare.com/ips
6         # As textfile:
7         # - https://www.cloudflare.com/ips-v4
8         # - https://www.cloudflare.com/ips-v6
9         CloudFlareRemoteIPTrustedProxy 103.21.244.0/22 103.22.200.0/22 103.31.4.0/22 104.16.0.0/12 108.162.192.0/18 131.0.72.0/22 141.101.64.0/18 162.158.0.0/15 172.64.0.0/13 173.245.48.0/20 188.114.96.0/20 190.93.240.0/20 197.234.240.0/22 198.41.128.0/17
10
11         # Uncomment DenyAllButCloudFlare to return a 403 status to all requests
12         # that do not originate from an IP defined in CloudFlareRemoteIPTrustedProxy
13         #DenyAllButCloudFlare
14 </IfModule>
This page took 0.051529 seconds and 3 git commands to generate.