bert: Add troop352.us
This commit is contained in:
parent
efb6bc7b95
commit
8e73fab30f
|
@ -17,6 +17,7 @@
|
|||
./stjohnscccc.com.nix
|
||||
./stjohnscccc.org.nix
|
||||
./swiftgang.net.nix
|
||||
./troop352.us.nix
|
||||
./whereis.chandlerswift.com.nix
|
||||
];
|
||||
|
||||
|
|
19
bert/services/http/troop352.us.nix
Normal file
19
bert/services/http/troop352.us.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
services.caddy.virtualHosts."troop352.us" = {
|
||||
serverAliases = ["www.troop352.us" "troop352-demo.chandlerswift.com"];
|
||||
extraConfig = ''
|
||||
encode zstd gzip
|
||||
file_server
|
||||
root * /srv/www/troop352.us
|
||||
|
||||
handle_errors {
|
||||
respond "{err.status_code} {err.status_text}"
|
||||
}
|
||||
'';
|
||||
};
|
||||
systemd.tmpfiles.settings."10-troop352-us" = {
|
||||
"/srv/www/troop352.us" = {
|
||||
d = {};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue