Article ID: 123537, created on Nov 14, 2014, last review on Jun 17, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 12.0 for Linux


While using Nginx as a reverse-proxy, IP address of the server, not client is written to the Apache server log. And PHP $_SERVER["REMOTE_ADDR"] function returns wrong output. Therefore AWStat statistics is not properly calculated.


The issue is considered to be a software issue with id #PPPM-2144.


The issue has been fixed in Plesk 12.0.18 MU#24. Please install all the microupdates.

For Plesk 12.5 refer article #127201

Search Words

awstats not calculated properly

Wrong IP address in Apache log files

server IP address in logs




29d1e90fd304f01e6420fbe60f66f838 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 2a5151f57629129e26ff206d171fbb5f e335d9adf7edffca6a8af8039031a4c7 742559b1631652fadd74764ae8be475e

Email subscription for changes to this article
Save as PDF