From 6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 16 Jun 2024 22:45:34 +0200 Subject: linde: use extra subdomain for searchix --- system/linde.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system/linde.nix b/system/linde.nix index b4630032..f255bc30 100644 --- a/system/linde.nix +++ b/system/linde.nix @@ -583,7 +583,7 @@ in }; acceptTerms = true; certs."alanpearce.eu" = { - extraDomainNames = [ "*.alanpearce.eu" ]; + extraDomainNames = [ "*.alanpearce.eu" "*.linde.alanpearce.eu" ]; }; certs."dns.alanpearce.eu" = { reloadServices = map (x: "kresd@${toString x}") (range 1 config.services.kresd.instances); @@ -681,6 +681,7 @@ in }; "searchix.alanpearce.eu" = { useACMEHost = "alanpearce.eu"; + serverAliases = [ "searchix.linde.alanpearce.eu" ]; extraConfig = '' reverse_proxy localhost:${toString config.services.searchix.settings.web.port} { health_uri /health -- cgit 1.4.1