Set blog to point to static files
parent
65e397b4d7
commit
66fc5a5ec8
|
@ -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"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue