machine-config/bert/services/http/katherineandchandler.com.nix

19 lines
400 B
Nix
Raw Permalink Normal View History

2024-11-06 00:00:51 -06:00
{
services.caddy.virtualHosts."katherineandchandler.com".extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/katherineandchandler.com
# hide .git # ???
handle_errors {
respond "{err.status_code} {err.status_text}"
}
2024-11-06 00:00:51 -06:00
'';
systemd.tmpfiles.settings."10-katherineandchandler-com" = {
"/srv/www/katherineandchandler.com" = {
d = {};
};
};
}