From e93b6ca0334d2ffd2667ac9e51ef008ac71a72a5 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Mon, 26 Feb 2024 18:06:15 +0100 Subject: [PATCH] Fixed jellyfin issue --- nixarr/jellyfin/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixarr/jellyfin/default.nix b/nixarr/jellyfin/default.nix index 121a7b2..749db7b 100644 --- a/nixarr/jellyfin/default.nix +++ b/nixarr/jellyfin/default.nix @@ -163,8 +163,8 @@ in { proxyPass = "http://192.168.15.1:${builtins.toString defaultPort}"; }; }; - - virtualHosts."${cfg.expose.vpn.accessibleFrom}:${builtins.toString cfg.expose.vpn.port}" = mkIf cfg.expose.vpn.enable { + } // mkIf cfg.expose.vpn.enable { + virtualHosts."${cfg.expose.vpn.accessibleFrom}:${builtins.toString cfg.expose.vpn.port}" = { enableACME = true; forceSSL = true; locations."/" = {