• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Forwarded to devs Plesk cannot get real IP headers in Logs from Cloudflare Domains

Zoinkz

New Pleskian
User name: Zoinkz

TITLE

Plesk cannot get real IP headers in Logs from Cloudflare Domains

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian 18.0.26 , Ubuntu 18.04 Server.

PROBLEM DESCRIPTION

Plesk Obsidian does not show real IP of visitors from a Cloudflare domain. The log files only show the Cloudflare reverse-proxy IPs.

Even after adding the Nginx directive real_ip_header CF-Connecting-IP;

The plesk is running in default configuration Visitor>Nginx>Apache

STEPS TO REPRODUCE

Added Wordpress installation on fresh installation and added cloudflare to the domain by pointing A records to plesk server

Fresh Plesk installation, no major changes performed.

ACTUAL RESULT

2020-05-01 19:43:52Access141.101.69.251200GET / HTTP/1.0

It must be the real IP of visitor but instead it shows Cloudflare IP.

Plesk server is not receiving real IP headers or not configured properly. Missing Nginx module perhaps?

EXPECTED RESULT

The Plesk must receive real IP forwarded headers from Cloudflare servers. And it must show in Website logs.

ANY ADDITIONAL INFORMATION

It seems the Nginx module is not configured or installed in the latest Plesk.

I have other Plesk servers running which receives Real IP headers just fine and log files are normal.

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Back
Top