{ services.caddy.virtualHosts."troop352.us" = { serverAliases = ["www.troop352.us" "troop352-demo.chandlerswift.com"]; extraConfig = '' encode zstd gzip file_server root * /srv/www/troop352.us @notRoot { not path / not file } redir @notRoot / handle_errors { respond "{err.status_code} {err.status_text}" } ''; }; systemd.tmpfiles.settings."10-troop352-us" = { "/srv/www/troop352.us" = { d = {}; }; }; }