summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-06-16 22:45:34 +0200
committerAlan Pearce2024-06-16 22:45:34 +0200
commit6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0 (patch)
treeb6ddfbf8228ef71ff2782336d72f13619adf646b /system
parent40b1834148c50d456707a9e2e3cc176603f8a560 (diff)
downloadnixfiles-6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0.tar.lz
nixfiles-6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0.tar.zst
nixfiles-6100c542ddfd4f1e31d1351f1b8f57d890c8d7a0.zip
linde: use extra subdomain for searchix
Diffstat (limited to 'system')
-rw-r--r--system/linde.nix3
1 files changed, 2 insertions, 1 deletions
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