bert: Add isaacswift.com and isaac user
This commit is contained in:
parent
41648800ab
commit
0ebcaee45d
3 changed files with 32 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
./git.chandlerswift.com.nix
|
||||
./harborpaperco.com.nix
|
||||
./home.chandlerswift.com.nix
|
||||
./isaacswift.com.nix
|
||||
./katherineandchandler.com.nix
|
||||
./maps.chandlerswift.com.nix
|
||||
./music.chandlerswift.com.nix
|
||||
|
|
|
|||
23
bert/services/http/isaacswift.com.nix
Normal file
23
bert/services/http/isaacswift.com.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue