aboutsummaryrefslogtreecommitdiffhomepage
path: root/lighttpd.conf
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-03-20 21:46:36 +0100
committerBastien Wirtz <bastien.wirtz@gmail.com>2022-04-30 10:46:00 +0200
commitcd75da69f9e57c3fe0f63c3ed6def0577d75a47c (patch)
tree6e290cc8ddc3f34585bb768a2b020f38b7434782 /lighttpd.conf
parentb6b31e440c7915e82fe8b9a4b93083ec9fb2e9fd (diff)
downloadhomer-cd75da69f9e57c3fe0f63c3ed6def0577d75a47c.tar.gz
homer-cd75da69f9e57c3fe0f63c3ed6def0577d75a47c.tar.zst
homer-cd75da69f9e57c3fe0f63c3ed6def0577d75a47c.zip
Alias subfolder hosting
Diffstat (limited to 'lighttpd.conf')
-rw-r--r--lighttpd.conf24
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
3include "/etc/lighttpd/mime-types.conf" 1include "/etc/lighttpd/mime-types.conf"
4 2
5server.port = 8080 3server.port = env.PORT
6 4server.modules = ( "mod_alias" )
7server.username = "lighttpd" 5server.username = env.USER
8server.groupname = "lighttpd" 6server.groupname = env.GROUP
9 7server.document-root = "/www"
10server.document-root = "/www" 8alias.url = ( env.SUBFOLDER => "/www" )
11server.pid-file = "/run/lighttpd.pid" 9server.indexfiles = ("index.html")
12
13server.indexfiles = ("index.php", "index.html", "index.htm", "default.htm")
14
15server.follow-symlink = "enable" 10server.follow-symlink = "enable"
16
17static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi")
18
19url.access-deny = ("~", ".inc")
20