Can't get mod_remoteip working on Fedora droplet

In need to log user IPs in a website I manage, but I’m having trouble getting mod_remoteip working on my new Fedora droplet.

I believe the module is properly installed:

# httpd -M | grep “remote”
remoteip_module (shared)

But IPs in access logs are still Cloudflare’s.

I’ve tried changing the LogFormat directive to replace %h to %a per a suggestion I found in another post – had no effect.

Anyone have any suggestions?

Thanks!

Did you create the .conf file with all the Cloudflare IPs in it?

See…

You rock! That did the trick.

Thanks so much for your help!