From f2f4b89f430e2678a86858998f724625d040bbc8 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 7 Nov 2021 03:38:41 +0100 Subject: [PATCH] stream: enable jackett --- hosts/containers/stream/default.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/containers/stream/default.nix b/hosts/containers/stream/default.nix index 6e7ed40b..876b768c 100644 --- a/hosts/containers/stream/default.nix +++ b/hosts/containers/stream/default.nix @@ -30,6 +30,7 @@ in networking.firewall.allowedTCPPorts = [ 80 443 ]; services.peerflix.enable = true; + services.jackett.enable = true; services.nginx = { enable = true; @@ -46,5 +47,16 @@ in ''; }; }; + virtualHosts."torrents.hq.c3d2.de" = { + enableACME = true; + forceSSL = true; + locations."/" = { + proxyPass = "http://127.0.0.1:9117"; + extraConfig = '' + auth_basic "Torrents"; + auth_basic_user_file ${authFile}; + ''; + }; + }; }; }