diff --git a/workspace/scripts/06-install-pioreactor.sh b/workspace/scripts/06-install-pioreactor.sh index eed4c05..dad96ca 100644 --- a/workspace/scripts/06-install-pioreactor.sh +++ b/workspace/scripts/06-install-pioreactor.sh @@ -117,3 +117,4 @@ fi # useful libs sudo apt-get install -y jq sudo apt-get install -y rsyslog +sudo apt-get install libwebpmux3 liblcms2-2 libwebpdemux2 libopenjp2-7 -y # used for Pillow diff --git a/workspace/scripts/files/system/lighttpd/lighttpd.conf b/workspace/scripts/files/system/lighttpd/lighttpd.conf index a3c9bf6..1dd3d4e 100644 --- a/workspace/scripts/files/system/lighttpd/lighttpd.conf +++ b/workspace/scripts/files/system/lighttpd/lighttpd.conf @@ -1,6 +1,7 @@ server.modules = ( "mod_indexfile", "mod_access", + "mod_accesslog", "mod_alias", "mod_redirect", "mod_staticfile", @@ -47,3 +48,8 @@ static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port include_shell "/usr/share/lighttpd/create-mime.conf.pl" include "/etc/lighttpd/conf-enabled/*.conf" + + +accesslog.filename = "/var/log/lighttpd/access.log" +accesslog.format = "%{%Y-%m-%d %H:%M:%S}t %r %s" +