bert: Add isaacswift.com and isaac user

This commit is contained in:
Chandler Swift 2024-11-18 18:14:14 -06:00
parent 41648800ab
commit 0ebcaee45d
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
3 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{
services.caddy.virtualHosts."isaacswift.com" = {
serverAliases = ["www.isaacswift.com"];
extraConfig = ''
encode zstd gzip
file_server
root * /srv/www/isaacswift.com
# hide .git # ???
handle_errors {
respond "{err.status_code} {err.status_text}"
}
'';
};
systemd.tmpfiles.settings."10-isaacswift-com" = {
"/srv/www/isaacswift.com" = {
d = {
user = "isaac";
};
};
};
}