From b48b5a68672db7c1caadc7e85d2f1da62975fd46 Mon Sep 17 00:00:00 2001 From: buffet Date: Sat, 25 May 2024 21:15:23 +0200 Subject: [PATCH] fix: make sure the cert is valid on *all* domains --- hosts/ami/acme.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hosts/ami/acme.nix b/hosts/ami/acme.nix index ca405ab..447cc2b 100644 --- a/hosts/ami/acme.nix +++ b/hosts/ami/acme.nix @@ -5,11 +5,14 @@ acceptTerms = true; defaults.email = "acme@buffet.sh"; certs."buffet.sh" = { - domain = "*.buffet.sh"; - extraDomainNames = ["*.buffets.kitchen"]; group = "nginx"; dnsProvider = "hetzner"; credentialsFile = config.age.secrets.hetzner-dns.path; + + extraDomainNames = [ + "*.buffet.sh" + "buffets.kitchen" + ]; }; }; } -- 2.46.0