1
0
Fork 0
mirror of https://github.com/bastienwirtz/homer.git synced 2026-01-23 02:15:09 +00:00

Alias subfolder hosting

This commit is contained in:
Bastien Wirtz 2022-03-20 21:46:36 +01:00
parent b6b31e440c
commit cd75da69f9
4 changed files with 16 additions and 23 deletions

View 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 = env.USER
server.groupname = env.GROUP
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")