Include mod_accesslog with new config (#5121)

pull/5124/head
Adam Warner 1 year ago committed by GitHub
commit 6cae37e720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -79,4 +79,4 @@ $HTTP["host"] == "pi.hole" {
}
# (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
chmod 644 $conf
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
# Otherwise, show info about installing them
printf " %b Warning: 'lighty-enable-mod' utility not found\\n" "${INFO}"

Loading…
Cancel
Save