improve web server

This commit is contained in:
nora 2024-08-05 20:24:32 +02:00
parent fca0d6d3f4
commit 67c6a7f9a0
3 changed files with 9 additions and 1 deletions

View file

@ -14,6 +14,8 @@
}
${config.networking.hostName}.infra.noratrieb.dev {
encode zstd gzip
header -Last-Modified
root * ${./debugging-page}
file_server
}
@ -22,6 +24,8 @@
if name == "vps1" then
builtins.readFile ./Caddyfile + ''
noratrieb.dev {
encode zstd gzip
header -Last-Modified
root * ${website {inherit pkgs slides blog;}}
file_server
}