![]() |
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: Code:
LogFormat "%v %{X-Real-IP}i %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfigI've also defined in my /etc/nginx/nginx.conf config file: Code:
proxy_set_header X-Real-IP $remote_addr; |
| All times are GMT +2. The time now is 07:16. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.