From 8afb236c5248670fc29643ddfe79ce549a5668ed Mon Sep 17 00:00:00 2001 From: Chandler Swift Date: Tue, 5 Nov 2024 23:32:46 -0600 Subject: [PATCH] Add swiftgang.net --- bert/services/http/index.nix | 1 + bert/services/http/swiftgang.net.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 bert/services/http/swiftgang.net.nix diff --git a/bert/services/http/index.nix b/bert/services/http/index.nix index c294d53..6b0430a 100644 --- a/bert/services/http/index.nix +++ b/bert/services/http/index.nix @@ -4,6 +4,7 @@ ./home.chandlerswift.com.nix ./maps.chandlerswift.com.nix ./stjohnscccc.org.nix + ./swiftgang.net.nix ]; services.caddy = { diff --git a/bert/services/http/swiftgang.net.nix b/bert/services/http/swiftgang.net.nix new file mode 100644 index 0000000..d2d0756 --- /dev/null +++ b/bert/services/http/swiftgang.net.nix @@ -0,0 +1,13 @@ + +{ + services.caddy.virtualHosts."swiftgang.net".extraConfig = '' + encode zstd gzip + file_server + root * /srv/swiftgang.net + ''; + systemd.tmpfiles.settings."10-swiftgang-net" = { + "/srv/swiftgang.net" = { + d = {}; + }; + }; +}