- install cloudflare_module
https://support.cloudflare.com/hc/en-us/articles/203656534-How-do-I-restore-original-visitor-IP-with-Apache-2-4-
mirght need to change sudo yum install httpd-devel libtool git
with sudo yum install httpd24-devel libtool git
- put the config file to /etc/httpd/conf.d/cloudflare.conf
CloudFlareRemoteIPHeader X-Forwarded-For