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 = [