Skip to content

Commit

Permalink
Update lighthttpd to add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-brousse authored Mar 14, 2023
1 parent d362add commit a61a31f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lighttpd.conf
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
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"
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"

0 comments on commit a61a31f

Please sign in to comment.