machine-config/bert/services/http/swiftgang.net.nix

18 lines
334 B
Nix
Raw Permalink Normal View History

2024-11-05 23:32:46 -06:00
{
services.caddy.virtualHosts."swiftgang.net".extraConfig = ''
encode zstd gzip
file_server
2024-11-05 23:48:09 -06:00
root * /srv/www/swiftgang.net
handle_errors {
respond "{err.status_code} {err.status_text}"
}
2024-11-05 23:32:46 -06:00
'';
systemd.tmpfiles.settings."10-swiftgang-net" = {
2024-11-05 23:48:09 -06:00
"/srv/www/swiftgang.net" = {
2024-11-05 23:32:46 -06:00
d = {};
};
};
}