Old 9th January 2011, 21:41
calocen calocen is offline
Junior Member
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to calocen
Default Reverse Proxy & Log Format

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:

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:
proxy_set_header   X-Real-IP        $remote_addr;
A better solution will be appreciated
Reply With Quote
Sponsored Links


awstats, logs, nginx, reverse proxy, tips

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 21:17
FTP Problems wabz Installation/Configuration 6 11th January 2010 19:51
Unable to receve email aberrio Server Operation 16 8th July 2009 11:26
Mod_Perl Configuration Issue szise Installation/Configuration 4 28th November 2008 13:41
slow download through webserver problem snewp Technical 14 9th May 2008 06:25

All times are GMT +2. The time now is 19:45.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.