##
##  apache-cloudflare.conf -- Apache configuration for mod_cloudflare
##

LoadModule  cloudflare_module  @l_prefix@/libexec/apache/mod_cloudflare.so

#   the HTTP header uses by CloudFlare
CloudFlareRemoteIPHeader CF-Connecting-IP

#   the CloudFlare reverse proxy networks
#   https://www.cloudflare.com/wiki/What_are_the_CloudFlare_IP_address_ranges
CloudFlareRemoteIPTrustedProxy 204.93.240.0/24
CloudFlareRemoteIPTrustedProxy 204.93.177.0/24
CloudFlareRemoteIPTrustedProxy 199.27.128.0/21
CloudFlareRemoteIPTrustedProxy 173.245.48.0/20
CloudFlareRemoteIPTrustedProxy 103.22.200.0/22
CloudFlareRemoteIPTrustedProxy 141.101.64.0/18
CloudFlareRemoteIPTrustedProxy 108.162.192.0/18
CloudFlareRemoteIPTrustedProxy 190.93.240.0/20
#CloudFlareRemoteIPTrustedProxy 2400:CB00:/32
#CloudFlareRemoteIPTrustedProxy 2606:4700:/32
#CloudFlareRemoteIPTrustedProxy 2803:f800:/32

#   optionally deny all other traffic
#DenyAllButCloudFlare yes

