machine-config/bert/services/http/svsindustries.org.nix
Chandler Swift 85e5dfd84b
bert: Add svsindustries.org fileserver
Co-Authored-By: Eric Villnow <eric@vill.now>
2025-09-24 20:27:34 -05:00

20 lines
424 B
Nix

{
services.caddy.virtualHosts."svsindustries.org" = {
# serverAliases = ["*.svsindustries.org"];
extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/svsindustries.org
handle_errors {
respond "{err.status_code} {err.status_text}"
}
'';
};
systemd.tmpfiles.settings."10-svsindustries-org" = {
"/srv/www/svsindustries.org" = {
d = {};
};
};
}