X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=lighttpd.conf;h=a6e9ff5f21d8530fa20f4062f2ba6ef2afd22b8f;hb=c8470d1e756e9a539cc4b1218e43f00d61f2b1fc;hp=da72bf996b2727188691a58dd1304a43770bb001;hpb=b6b31e440c7915e82fe8b9a4b93083ec9fb2e9fd;p=github%2Fbastienwirtz%2Fhomer.git diff --git a/lighttpd.conf b/lighttpd.conf index da72bf9..a6e9ff5 100644 --- a/lighttpd.conf +++ b/lighttpd.conf @@ -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 )