Plesk is running behind a Cloudflare or Google Cloud Load Balancing.
Internal IP address of load balancer or proxy is displayed in domain logs (Domains > example.com > Logs) instead of the client's IP (real visitor's IP):
Access 192.0.2.2 200 GET / HTTP/1.0
Proxies and load balancers rewrite the origin IP address and specify the client's IP address in an additional HTTP header.
- Log into the server via SSH.
- Using the next command verify that the
remoteip_moduleApache module is enabled:
# (apache2ctl -M || httpd -M) | grep remoteip_module
The output below means that
remoteip_modulemodule is enabled:
Then apply one of the following solutions: