Date Published: November 4, 2024
Logging Client IP in Apache Behind CloudFlare
Note: This article only covers Acquia’s non-Kubernetes version of Acquia Cloud infrastructure, referred to as Cloud Classic.
This feature is currently unavailable for the Acquia Cloud infrastructure, previously referred to as Cloud Next.
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, please submit a Support ticket to request a reverse proxy header to CF-Connecting-IP
.
Related Content¶
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.