enable jellyseerr

This commit is contained in:
Noah Masur 2023-06-04 01:10:23 +00:00
parent fa797c81f8
commit 28418c4e37
2 changed files with 13 additions and 1 deletions

View File

@ -15,6 +15,7 @@
services.bazarr.enable = true; services.bazarr.enable = true;
services.prowlarr.enable = true; services.prowlarr.enable = true;
services.sabnzbd.enable = true; services.sabnzbd.enable = true;
services.jellyseerr.enable = true;
unfreePackages = [ "unrar" ]; # Required for sabnzbd unfreePackages = [ "unrar" ]; # Required for sabnzbd
# Grant users access to destination directories # Grant users access to destination directories
@ -81,6 +82,14 @@
upstreams = [{ dial = "localhost:8085"; }]; upstreams = [{ dial = "localhost:8085"; }];
}]; }];
} }
{
group = "download";
match = [{ host = [ config.arrServer ]; }];
handle = [{
handler = "reverse_proxy";
upstreams = [{ dial = "localhost:5055"; }];
}];
}
]; ];
}; };

View File

@ -44,7 +44,10 @@
caddy.routes = lib.mkAfter [{ caddy.routes = lib.mkAfter [{
group = group =
lib.mkIf (config.arrServer == config.transmissionServer) "download"; lib.mkIf (config.arrServer == config.transmissionServer) "download";
match = [{ host = [ config.transmissionServer ]; }]; match = [{
host = [ config.transmissionServer ];
path = [ "/transmission*" ];
}];
handle = [{ handle = [{
handler = "reverse_proxy"; handler = "reverse_proxy";
upstreams = [{ dial = "localhost:9091"; }]; upstreams = [{ dial = "localhost:9091"; }];