Revert "Merge pull request #492 from thifranc/master"

This reverts commit 1ba7a2f475, reversing
changes made to a85ccd043b.

* If we want only IP from remote then we must disable Lookup option
* Prevent problem with remote_ip (is not installed by default) and it's better to set proxy allowed and return correctly %h value
This commit is contained in:
Camille Lafitte 2021-11-30 19:24:03 +01:00
parent 1ba7a2f475
commit 05c581d206
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ Include /var/lib/alternc/apache-vhost/vhosts_all.conf
# Logs:
LogFormat "%{LOGIN}e %a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
LogFormat "%{LOGIN}e %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
CustomLog "|| /usr/sbin/vlogger -u alterncpanel -g alterncpanel -s access.log -t \"access-%Y%m%d.log\" %%ALTERNC_LOGS%%" alternc
#Uncomment the following line to active Buffered Logs (Default: Off)