mirror of
https://codeberg.org/angestoepselt/homepage.git
synced 2025-05-24 14:46:16 +00:00
parent
be143ae1ed
commit
564350ef34
2 changed files with 7 additions and 1 deletions
|
|
@ -64,8 +64,11 @@
|
|||
ExposedPorts = {
|
||||
"80/tcp" = {};
|
||||
};
|
||||
# See here for the stdout redirection:
|
||||
# https://redmine.lighttpd.net/boards/2/topics/8382
|
||||
Cmd = [ (pkgs.writeShellScript "angestoepselt-site" ''
|
||||
${pkgs.coreutils}/bin/mkdir -p /var/tmp
|
||||
exec 3>&1
|
||||
${pkgs.lighttpd}/bin/lighttpd -Df ${packages.lighttpdConfig}
|
||||
'') ];
|
||||
Healthcheck = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,10 @@
|
|||
server.modules += ( "mod_alias", "mod_cgi", "mod_redirect", "mod_rewrite", "mod_setenv" )
|
||||
server.modules += ( "mod_accesslog" "mod_alias", "mod_cgi", "mod_redirect", "mod_rewrite", "mod_setenv" )
|
||||
|
||||
server.port = 80
|
||||
|
||||
# See here: https://redmine.lighttpd.net/boards/2/topics/8382
|
||||
accesslog.filename = "/dev/fd/3"
|
||||
|
||||
include "@lighttpd@/share/lighttpd/doc/config/conf.d/mime.conf"
|
||||
|
||||
server.document-root = "@site@"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue