diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-04-10 11:55:11 +0200 |
---|---|---|
committer | Bastien Wirtz <bastien.wirtz@gmail.com> | 2022-04-30 15:39:36 +0200 |
commit | 049f85221e945b90bf87d21afe4d306839d65740 (patch) | |
tree | 1288ab580f2a274df8b507e2bbe37e2ff03c70ca /lighttpd.conf | |
parent | cd75da69f9e57c3fe0f63c3ed6def0577d75a47c (diff) | |
download | homer-049f85221e945b90bf87d21afe4d306839d65740.tar.gz homer-049f85221e945b90bf87d21afe4d306839d65740.tar.zst homer-049f85221e945b90bf87d21afe4d306839d65740.zip |
Simplify the container starting process to allow it to run with a
unprivileged user
Diffstat (limited to 'lighttpd.conf')
-rw-r--r-- | lighttpd.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lighttpd.conf b/lighttpd.conf index 04b0bed..32e14da 100644 --- a/lighttpd.conf +++ b/lighttpd.conf | |||
@@ -2,8 +2,8 @@ include "/etc/lighttpd/mime-types.conf" | |||
2 | 2 | ||
3 | server.port = env.PORT | 3 | server.port = env.PORT |
4 | server.modules = ( "mod_alias" ) | 4 | server.modules = ( "mod_alias" ) |
5 | server.username = env.USER | 5 | server.username = "lighttpd" |
6 | server.groupname = env.GROUP | 6 | server.groupname = "lighttpd" |
7 | server.document-root = "/www" | 7 | server.document-root = "/www" |
8 | alias.url = ( env.SUBFOLDER => "/www" ) | 8 | alias.url = ( env.SUBFOLDER => "/www" ) |
9 | server.indexfiles = ("index.html") | 9 | server.indexfiles = ("index.html") |