enable access logging for debug purposes

This commit is contained in:
Julian 2025-06-10 18:48:12 +02:00
parent 33ebf3c640
commit 052b6f56af

View file

@ -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: