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.
-
@nebulon If you click on that link in the OP, it has an NGINX section that suggests using
real_ip_header
to get the customer IP instead of the CF proxy IPs.More here:
https://danielmiessler.com/blog/getting-real-ip-addresses-using-cloudflare-nginx-and-varnish/ -
My understanding is that this will allow apps to get the real IP when behind Cloudflare. Currently, the apps get Cloudflare's IP.