stream: enable jackett
This commit is contained in:
parent
5c27d88aa1
commit
f2f4b89f43
|
@ -30,6 +30,7 @@ in
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
|
|
||||||
services.peerflix.enable = true;
|
services.peerflix.enable = true;
|
||||||
|
services.jackett.enable = true;
|
||||||
|
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
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};
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue