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

19 lines
392 B
Nix
Raw Permalink Normal View History

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