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

20 lines
413 B
Nix
Raw Normal View History

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