]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - lighttpd.conf
Bump follow-redirects from 1.15.2 to 1.15.4
[github/bastienwirtz/homer.git] / lighttpd.conf
index da72bf996b2727188691a58dd1304a43770bb001..a6e9ff5f21d8530fa20f4062f2ba6ef2afd22b8f 100644 (file)
@@ -1,20 +1,12 @@
-# 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.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 )