mirror of
https://github.com/myvesta/vesta
synced 2025-07-05 20:41:53 -07:00
Enabling real-IPs in Apache2 logs in /upd/switch_rpath.sh
This commit is contained in:
parent
e8632ccd48
commit
d95f0010b8
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@ for ip in $(ls /usr/local/vesta/data/ips); do
|
|||
done
|
||||
echo "</IfModule>" >> $conf
|
||||
|
||||
sed -i "s/LogFormat \"%h/LogFormat \"%a/g" /etc/apache2/apache2.conf
|
||||
|
||||
# Restarting apache
|
||||
/usr/sbin/apachectl restart > /dev/null 2>&1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue