From a61a31fd9a48bfddf9425f16d71b504580d52416 Mon Sep 17 00:00:00 2001 From: Nicolas Brousse Date: Tue, 14 Mar 2023 15:39:30 +0100 Subject: [PATCH] Update lighthttpd to add logs --- lighttpd.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lighttpd.conf b/lighttpd.conf index fa0cfb29f..c2a539bf3 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -1,7 +1,7 @@ include "/etc/lighttpd/mime-types.conf" server.port = env.PORT -server.modules = ( "mod_alias" ) +server.modules = ( "mod_alias", "mod_accesslog" ) server.username = "lighttpd" server.groupname = "lighttpd" server.document-root = "/www" @@ -9,3 +9,5 @@ alias.url = ( env.SUBFOLDER => "/www" ) server.indexfiles = ("index.html") server.follow-symlink = "enable" server.feature-flags += ( "server.clock-jump-restart" => 0 ) +server.errorlog = "/dev/stderr" +accesslog.filename = "/dev/stdout"