From 6531834def29ceced63d7ceeb1ebb927668517f6 Mon Sep 17 00:00:00 2001 From: dpeca Date: Wed, 19 Oct 2016 14:06:44 +0000 Subject: [PATCH] Enabling real-IPs in Apache2 logs --- install/vst-install-debian.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install/vst-install-debian.sh b/install/vst-install-debian.sh index c5b6e30ed..ff1e5c39b 100755 --- a/install/vst-install-debian.sh +++ b/install/vst-install-debian.sh @@ -1206,6 +1206,7 @@ if [ "$apache" = 'yes' ] && [ "$nginx" = 'yes' ] ; then echo " RemoteIPInternalProxy $copy_of_pub_ip" >> /etc/apache2/mods-available/remoteip.conf fi echo "" >> /etc/apache2/mods-available/remoteip.conf + sed -i "s/LogFormat \"%h/LogFormat \"%a/g" /etc/apache2/apache2.conf a2enmod remoteip service apache2 restart fi