From f41b7d1b5742ead65b32ae767126000a1bc8be69 Mon Sep 17 00:00:00 2001 From: rasmus-kirk Date: Mon, 26 Feb 2024 20:30:22 +0100 Subject: [PATCH] Testing --- nixarr/jellyfin/default.nix | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/nixarr/jellyfin/default.nix b/nixarr/jellyfin/default.nix index 749db7b..6d5b058 100644 --- a/nixarr/jellyfin/default.nix +++ b/nixarr/jellyfin/default.nix @@ -163,21 +163,21 @@ in { proxyPass = "http://192.168.15.1:${builtins.toString defaultPort}"; }; }; - } // mkIf cfg.expose.vpn.enable { - virtualHosts."${cfg.expose.vpn.accessibleFrom}:${builtins.toString cfg.expose.vpn.port}" = { - enableACME = true; - forceSSL = true; - locations."/" = { - recommendedProxySettings = true; - proxyWebsockets = true; - proxyPass = "http://192.168.15.1:${builtins.toString defaultPort}"; - }; - }; + #} // mkIf cfg.expose.vpn.enable { + # virtualHosts."${cfg.expose.vpn.accessibleFrom}:${builtins.toString cfg.expose.vpn.port}" = { + # enableACME = true; + # forceSSL = true; + # locations."/" = { + # recommendedProxySettings = true; + # proxyWebsockets = true; + # proxyPass = "http://192.168.15.1:${builtins.toString defaultPort}"; + # }; + # }; }; security.acme = mkIf cfg.expose.https.enable { acceptTerms = true; - defaults.email = cfg.expose.acmeMail; + defaults.email = cfg.expose.https.acmeMail; }; util-nixarr.vpnnamespace.portMappings = [