mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 17:45:14 +01:00
improve web server
This commit is contained in:
parent
fca0d6d3f4
commit
67c6a7f9a0
3 changed files with 9 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue