mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-22 14:13:42 +00:00
mod_accesslog was ommited from the list of server modules, which causes a warning to be flashed up in the error log. Enabling this
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
21c7c8a008
commit
634e3b0e46
2 changed files with 2 additions and 2 deletions
|
@ -79,4 +79,4 @@ $HTTP["host"] == "pi.hole" {
|
||||||
}
|
}
|
||||||
|
|
||||||
# (keep this on one line for basic-install.sh filtering during install)
|
# (keep this on one line for basic-install.sh filtering during install)
|
||||||
server.modules += ( "mod_access", "mod_redirect", "mod_fastcgi", "mod_setenv" )
|
server.modules += ( "mod_access", "mod_accesslog", "mod_redirect", "mod_fastcgi", "mod_setenv" )
|
||||||
|
|
|
@ -1442,7 +1442,7 @@ installConfigs() {
|
||||||
fi
|
fi
|
||||||
chmod 644 $conf
|
chmod 644 $conf
|
||||||
if is_command lighty-enable-mod ; then
|
if is_command lighty-enable-mod ; then
|
||||||
lighty-enable-mod pihole-admin access redirect fastcgi setenv > /dev/null || true
|
lighty-enable-mod pihole-admin access accesslog redirect fastcgi setenv > /dev/null || true
|
||||||
else
|
else
|
||||||
# Otherwise, show info about installing them
|
# Otherwise, show info about installing them
|
||||||
printf " %b Warning: 'lighty-enable-mod' utility not found\\n" "${INFO}"
|
printf " %b Warning: 'lighty-enable-mod' utility not found\\n" "${INFO}"
|
||||||
|
|
Loading…
Reference in a new issue