Commit 05c581d2 authored by Camille Lafitte's avatar Camille Lafitte
Browse files

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

This reverts commit 1ba7a2f4, reversing
changes made to a85ccd04.

* 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
parent 1ba7a2f4
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment