• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Access log warning

EnriqueR

Regular Pleskian
Since I've updated Plesk 12.5, my access.log file only stores the IP of my VPS server instead of the IP client. I know this is because this IP start saving from just in time when the update was. What could be happening?
 
Please check that in file /etc/httpd/conf/plesk.conf.d/server.conf you have

<IfModule mod_remoteip.c>
RemoteIPInternalProxy xxx.xxx.xxx.xxx
RemoteIPHeader X-Forwarded-For
</IfModule>

Do you have nginx enabled?
 
Please check that in file /etc/httpd/conf/plesk.conf.d/server.conf you have

<IfModule mod_remoteip.c>
RemoteIPInternalProxy xxx.xxx.xxx.xxx
RemoteIPHeader X-Forwarded-For
</IfModule>

Do you have nginx enabled?
Yes, I have it:
<IfModule mod_remoteip.c>
RemoteIPInternalProxy IP1 IP2 IP3
RemoteIPHeader X-Forwarded-For
</IfModule>

The access_log file has the lines like this:
IP1 - - [15/Oct/2015:07:55:11 +0200] "GET ...
IP1 - - [15/Oct/2015:07:55:21 +0200] "GET ...
...

And the error_log file is wrong too.
 
Have you tried simple possible solution:

# plesk repair web

?
 
Have you tried simple possible solution:

# plesk repair web

?
I have 4 questions. Which one I choose?
Reinstall SSL certificates and set the default SSL certificate for all IP addresses?
Repair server-wide configuration parameters for web servers?
Update the file of sharing passwords and permissions of users according to actual information?
Repair web server configuration for all domains?
 
I suppose that 2 and 4 would be useful.
Nothing
Error messages: 0; Warnings: 0; Errors resolved: 0
I have seen the access_log again and the same problem.
I do not know why when the user accesses web files via web, the system stores the internal IP of the server instead of storing the client IP.
 
Do you see the same behaviour when you disable nginx?
 
Back
Top