machine-config/bert/services/http/files.chandlerswift.com.nix

18 lines
374 B
Nix
Raw Permalink Normal View History

2024-11-04 19:20:49 -06:00
{
services.caddy.virtualHosts."files.chandlerswift.com".extraConfig = ''
encode zstd gzip
file_server
2024-11-05 23:48:09 -06:00
root * /srv/www/files.chandlerswift.com
handle_errors {
respond "{err.status_code} {err.status_text}"
}
2024-11-04 19:20:49 -06:00
'';
systemd.tmpfiles.settings."10-files-chandlerswift-com" = {
2024-11-05 23:48:09 -06:00
"/srv/www/files.chandlerswift.com" = {
2024-11-04 19:20:49 -06:00
d = {};
};
};
}