-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.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")