]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - lighttpd.conf
Update docs/configuration.md
[github/bastienwirtz/homer.git] / lighttpd.conf
index da72bf996b2727188691a58dd1304a43770bb001..32e14da4781f63affff921297930d8317c9c669d 100644 (file)
@@ -1,20 +1,10 @@
-# Minimal config by Kirmy34
-
 include "/etc/lighttpd/mime-types.conf"
 
-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")
 server.follow-symlink = "enable"
-
-static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi")
-
-url.access-deny = ("~", ".inc")
-