sabnzbd added proxy
This commit is contained in:
@@ -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 // { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user