only enable autheliaProtect in deluge if enabled
This commit is contained in:
parent
c1c738b1a4
commit
d7411a79b7
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ in
|
|||
restartUnits = [ "deluged.service" "delugeweb.service" ];
|
||||
};
|
||||
|
||||
shb.nginx.autheliaProtect = [
|
||||
shb.nginx.autheliaProtect = lib.mkIf config.shb.authelia.enable [
|
||||
{
|
||||
inherit (cfg) subdomain domain authEndpoint;
|
||||
upstream = "http://127.0.0.1:${toString config.services.deluge.web.port}";
|
||||
|
|
Loading…
Reference in a new issue