-
-server.port = 8080
-
-server.username = "lighttpd"
-server.groupname = "lighttpd"
-
-server.document-root = "/www"
-server.pid-file = "/run/lighttpd.pid"
-
-server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm")
-
-server.follow-symlink = "enable"
-
-static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi")
-
-url.access-deny = ("~", ".inc")
-
+include_shell "/etc/lighttpd/ipv6.sh"
+
+server.port = env.PORT
+server.modules = ( "mod_alias" )
+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 )