I have a website behind Cloudflare.
Apache is configured with mod_remoteip so that the correct IP’s are in the log files.
As per the following documentation, setting mod_remoteip up is enough for Matomo to view real IP’s but users still are presented with Cloudflare IP’s.
Did I miss something ?
If you use Apache 2.4 or Apache 2.5, there is an alternative solution, you could use
mod_remoteipto override the client IP with the IP as provided by a proxy or load balancer. Then you won’t need to specify these Matomo config settings.