mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
hugo
This commit is contained in:
parent
a7aea77480
commit
51b9fc4d1b
13 changed files with 77 additions and 46 deletions
|
|
@ -7,7 +7,6 @@
|
|||
enable = true;
|
||||
configFile = pkgs.writeText "Caddyfile"
|
||||
(
|
||||
builtins.readFile ./Caddyfile +
|
||||
''
|
||||
${config.networking.hostName}.infra.noratrieb.dev {
|
||||
root * ${./debugging-page}
|
||||
|
|
@ -16,15 +15,7 @@
|
|||
|
||||
${
|
||||
if name == "vps1" then
|
||||
''
|
||||
nilstrieb.dev {
|
||||
redir https://noratrieb.dev{uri} permanent
|
||||
}
|
||||
|
||||
blog.nilstrieb.dev {
|
||||
redir https://blog.noratrieb.dev{uri} permanent
|
||||
}
|
||||
|
||||
builtins.readFile ./Caddyfile + ''
|
||||
noratrieb.dev {
|
||||
root * ${website {inherit pkgs slides blog;}}
|
||||
file_server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue