Cloudflare IP logging
This can be implemented for Apache packages with mod_remoteip as per https://support.cloudflare.com/hc/en-us/articles/200170786#C5XWe97z77b3XZV.
Other solutions for non Apache based apps would also be nice
Do you have any more information on what "Cloudflare IP logging" is in this context? In Cloudron outside requests anyways first hit the nginx reverse proxy and apache may or may not be part of an app further upstream. The apps usually already handle the remoteip, if not we should fixup those first.
robi last edited by robi
@nebulon If you click on that link in the OP, it has an NGINX section that suggests using
real_ip_headerto get the customer IP instead of the CF proxy IPs.
My understanding is that this will allow apps to get the real IP when behind Cloudflare. Currently, the apps get Cloudflare's IP.