summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rw-r--r--docker/lighttpd.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/lighttpd.conf b/docker/lighttpd.conf
index ac92070d..024a259c 100644
--- a/docker/lighttpd.conf
+++ b/docker/lighttpd.conf
@@ -7,6 +7,11 @@ server.groupname = "www-data"
dir-listing.activate = "disable"
+alias.url = ( "/logs/" => "/share/logs/" )
+$HTTP["url"] =~ "^/logs/" {
+ dir-listing.activate = "enable"
+}
+
mimetype.assign = (
".html" => "text/html"
)
@@ -15,6 +20,7 @@ static-file.exclude-extensions = ( ".fcgi", ".php", ".rb", "~", ".inc", ".cgi" )
index-file.names = ( "index.html" )
server.modules += ( "mod_auth" )
+server.modules += ( "mod_alias" )
auth.debug = 2
auth.backend = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/authorization"