Skip to content

Commit

Permalink
only enable autheliaProtect in deluge if enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ibizaman authored and ibizaman committed Dec 27, 2023
1 parent c1c738b commit d7411a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/deluge.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit d7411a7

Please sign in to comment.