Resolved Domains proxied via Cloudflare - Logs showing Cloudflare IPs rather than client IP

Alban Staehli

Regular Pleskian
Server operating system version
AlmaLinux 8.10 (Cerulean Leopard)
Plesk version and microupdate number
Plesk Obsidian 18.0.70 Update #2
Hi,

I've a couple of domains proxied via Cloudflare. Using the Cloudflare DNS extension to sync these domains NS entries with Cloudflare.
While these are proxied from Cloudflare to the Plesk server, the Nginx and Apache logs show the IP addresses from Cloudflare proxies, rather than the client IP address.

Would you know what has to be done at the Plesk level to enable the use of the Real IP address rather than the Cloudflare one within Apache / Nginx logs for these specific vhosts that are proxied?

I thought this would be handled throught the cloudflare DNS extension, but obviously it's not the case.

Thank you.
 
Back
Top