about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profiles/unifi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/unifi.nix b/profiles/unifi.nix
index 9307acd..23cb1b4 100644
--- a/profiles/unifi.nix
+++ b/profiles/unifi.nix
@@ -13,7 +13,7 @@ in
     mongodbPackage = pkgs.mongodb-4_2;
   };
 
-  services.nginx.virtualHosts."${cfg.vhostName}" = {
+  services.nginx.virtualHosts."${vhostName}" = {
     forceSSL = true;
     useACMEHost = config.homelab.domain;
     listen = [