Tip when you install ispconfig 3 behind a reverse proxy like nginx.
In
/etc/apache2/sites-available/ispconfig.conf changes '%h' to '%{X-Real-IP}i' to get this:
Code:
LogFormat "%v %{X-Real-IP}i %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
In order to apache logs for awstats works properly.
I've also defined in my /etc/nginx/nginx.conf config file:
Code:
proxy_set_header X-Real-IP $remote_addr;
A better solution will be appreciated
Recent comments
9 hours 46 min ago
16 hours 27 min ago
20 hours 18 min ago
21 hours 57 min ago
1 day 6 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 20 hours ago
2 days 37 min ago
2 days 59 min ago