bert: add 0hats.com

Future direction: Have a systemd timer that regens this automatically,
and updates the index page accordingly.
This commit is contained in:
Chandler Swift 2024-11-12 02:01:34 -06:00
parent 9e80802351
commit 0f4b0295c8
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{
services.caddy.virtualHosts."0hats.com" = {
serverAliases = ["www.0hats.com"];
extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/0hats.com
handle_errors {
respond "{err.status_code} {err.status_text}"
}
'';
};
systemd.tmpfiles.settings."10-0hats-com" = {
"/srv/www/0hats.com" = {
d = {};
};
};
}

View file

@ -1,5 +1,6 @@
{
imports = [
./0hats.com.nix
./files.chandlerswift.com.nix
./git.chandlerswift.com.nix
./harborpaperco.com.nix