sabnzbd added proxy

This commit is contained in:
2024-09-06 00:36:29 -06:00
parent b99d2b76cc
commit 3d66cc60d9
2 changed files with 11 additions and 5 deletions

View File

@@ -1,10 +1,14 @@
{ lib, config, pkgs, proxyReverse, ... }: {
{ lib, config, proxyReverse, ... }: {
options.my.servers.sabnzbd.enable = lib.mkEnableOption "enable";
config = lib.mkIf config.my.servers.sabnzbd.enable {
services.sabnzbd = {
enable = true;
group = "piracy";
openFirewall = true;
services = {
sabnzbd = {
enable = true;
group = "piracy";
openFirewall = true;
};
nginx.virtualHosts."HSoeJdGRd2Orj0n31UGI.${config.my.domain}" =
proxyReverse 3399 // { };
};
};
}