Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
rasmus-kirk committed Feb 26, 2024
1 parent c20ed40 commit f41b7d1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions nixarr/jellyfin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit f41b7d1

Please sign in to comment.