1
1
Fork 0

Set blog to point to static files

main
Bill Ewanick 2023-05-08 18:39:01 -04:00
parent 65e397b4d7
commit 66fc5a5ec8
1 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,6 @@
let
PROJECT_ROOT = builtins.toString ./.;
in
{ {
services.caddy = { services.caddy = {
enable = true; enable = true;
@ -5,9 +8,18 @@
"cutesealfanpage.love" = { "cutesealfanpage.love" = {
serverAliases = [ "www.cutesealfanpage.love" ]; serverAliases = [ "www.cutesealfanpage.love" ];
extraConfig = '' extraConfig = ''
respond "Hello seals! Coming soon!" root * ${PROJECT_ROOT}/cutesealfanpage.love/
file_server
''; '';
}; };
}; };
}; };
# services.cron = {
# enable = true;
# systemCronJobs = [
# # "12 12 * * * alice . /etc/profile; /home/alice/seal-blog/devops/newSealPost.sh > /home/alice/logs/backup.log 2>&1"
# # "* * * * * alice . /etc/profile; /home/alice/seal-blog/devops/newSealPost.sh"
# ];
# };
} }