diff options
Diffstat (limited to 'lighttpd.conf')
-rw-r--r-- | lighttpd.conf | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/lighttpd.conf b/lighttpd.conf index da72bf9..04b0bed 100644 --- a/lighttpd.conf +++ b/lighttpd.conf | |||
@@ -1,20 +1,10 @@ | |||
1 | # Minimal config by Kirmy34 | ||
2 | |||
3 | include "/etc/lighttpd/mime-types.conf" | 1 | include "/etc/lighttpd/mime-types.conf" |
4 | 2 | ||
5 | server.port = 8080 | 3 | server.port = env.PORT |
6 | 4 | server.modules = ( "mod_alias" ) | |
7 | server.username = "lighttpd" | 5 | server.username = env.USER |
8 | server.groupname = "lighttpd" | 6 | server.groupname = env.GROUP |
9 | 7 | server.document-root = "/www" | |
10 | server.document-root = "/www" | 8 | alias.url = ( env.SUBFOLDER => "/www" ) |
11 | server.pid-file = "/run/lighttpd.pid" | 9 | server.indexfiles = ("index.html") |
12 | |||
13 | server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm") | ||
14 | |||
15 | server.follow-symlink = "enable" | 10 | server.follow-symlink = "enable" |
16 | |||
17 | static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi") | ||
18 | |||
19 | url.access-deny = ("~", ".inc") | ||
20 | |||