Logging Client IP in Apache Behind CloudFlare | Cloud Platform | Acquia Product Documentation
Logging Client IP in Apache Behind CloudFlare
Date Published: November 4, 2024
Note
This article only covers Acquia’s non-Kubernetes version, Cloud Classic.
Issue
Since CloudFlare, Acquia Cloud Edge Protect, and Acquia Cloud Edge CDN act as a reverse proxy, the IP address in Apache logs will show the CloudFlare IP address instead of the visitor's true IP address.
Resolution
To restore the true IP address of the visitor, file a Support ticket to request a reverse proxy header to CF-Connecting-IP.