From 052b6f56af601b83000ec54125d9c1e2244f6af9 Mon Sep 17 00:00:00 2001 From: Julian Date: Tue, 10 Jun 2025 18:48:12 +0200 Subject: [PATCH] enable access logging for debug purposes --- docker/lighttpd.conf | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docker/lighttpd.conf b/docker/lighttpd.conf index ade529e..6efcd94 100644 --- a/docker/lighttpd.conf +++ b/docker/lighttpd.conf @@ -1,9 +1,21 @@ server.document-root = "/var/www" +server.modules = ( "mod_indexfile", "mod_accesslog" ) + +#enable ipv6 support +#server.use-ipv6 = "enable" + +#server.port = 80 +#server.bind = "0.0.0.0" + +# logging +accesslog.filename = "/dev/fd/2" +debug.log-request-handling = "enable" +debug.log-state-handling = "enable" +debug.log-request-header="enable" +debug.log-response-header="enable" + -server.port = 3000 -server.bind = "0.0.0.0" -server.modules = ( "mod_indexfile" ) index-file.names = ( "index.html" ) # If running lighttpd earlier than lighttpd 1.4.71, uncomment (remove '#') to add the following: