all repos — nixfiles @ 6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0

System and user configuration, managed by nix and home-manager

linde: use extra subdomain for searchix
Alan Pearce alan@alanpearce.eu
Sun, 16 Jun 2024 22:45:34 +0200
commit

6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0

parent

40b1834148c50d456707a9e2e3cc176603f8a560

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M system/linde.nixsystem/linde.nix
@@ -583,7 +583,7 @@ validMinDays = 32;     };
     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 @@ '';         };
         "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