From b40334ce5559a626485cb95da7d17203bfda6054 Mon Sep 17 00:00:00 2001 From: thiloho <123883702+thiloho@users.noreply.github.com> Date: Sat, 17 Aug 2024 22:37:09 +0200 Subject: [PATCH] Set serverName and virtualHost name --- nix/module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/module.nix b/nix/module.nix index 0e7dbf4..4dfd240 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -156,9 +156,10 @@ in }; }; }; - "~^(?.+)\.demo\.archtika\.com$;" = { + "*.demo.archtika.com" = { enableACME = true; forceSSL = true; + serverName = "~^(?.+)\.demo\.archtika\.com$;"; locations = { "/" = { alias = "/var/www/archtika-websites/$subdomain/";