From ff22ae62b90f039b3090454e648b4167fc61ba97 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sun, 13 Oct 2024 16:23:07 +0200 Subject: [PATCH] caddy: sortseer.dk --- hosts/alpha/acme.nix | 6 ++++++ hosts/alpha/caddy.nix | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/hosts/alpha/acme.nix b/hosts/alpha/acme.nix index fc4eef8..b010eed 100644 --- a/hosts/alpha/acme.nix +++ b/hosts/alpha/acme.nix @@ -11,6 +11,12 @@ # since we handle the group membership manually. group = lib.mkForce "acme"; }; + "sortseer.dk" = { + reloadServices = [ + "caddy.service" + ]; + group = lib.mkForce "acme"; + }; }; users.groups.acme.members = [ "caddy" diff --git a/hosts/alpha/caddy.nix b/hosts/alpha/caddy.nix index a300e51..d0c0c0e 100644 --- a/hosts/alpha/caddy.nix +++ b/hosts/alpha/caddy.nix @@ -20,6 +20,12 @@ useACMEHost = "caspervk.net"; extraConfig = ipConfig; }; + "sortseer.dk" = { + useACMEHost = "sortseer.dk"; + extraConfig = '' + redir https://git.caspervk.net/caspervk/sortseer + ''; + }; }; }; }