Add files.chandlerswift.com

This commit is contained in:
Chandler Swift 2024-11-04 19:20:49 -06:00
parent 3237237cdd
commit c993aa7c25
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
{
services.caddy.virtualHosts."files.chandlerswift.com".extraConfig = ''
encode zstd gzip
file_server
root * /srv/files.chandlerswift.com
'';
systemd.tmpfiles.settings."10-files-chandlerswift-com" = {
"/srv/files.chandlerswift.com" = {
d = {};
};
};
}

View file

@ -1,5 +1,6 @@
{ {
imports = [ imports = [
./files.chandlerswift.com.nix
./home.chandlerswift.com.nix ./home.chandlerswift.com.nix
./maps.chandlerswift.com.nix ./maps.chandlerswift.com.nix
./stjohnscccc.org.nix ./stjohnscccc.org.nix