• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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