feat: Try to auth *arr stack with authelia

This commit is contained in:
uttarayan21
2025-07-29 13:58:29 +05:30
parent a455c6954c
commit c8ae4ff37a
4 changed files with 33 additions and 11 deletions

View File

@@ -80,7 +80,9 @@
};
caddy = {
virtualHosts."auth.darksailor.dev".extraConfig = ''
reverse_proxy localhost:5555
reverse_proxy localhost:5555 {
trusted_proxies static 100.87.221.59/32
}
'';
};
};

View File

@@ -1,15 +1,7 @@
{
pkgs,
lib,
...
}: {
{...}: {
services = {
caddy = {
enable = true;
# package = pkgs.caddy.withPlugins {
# plugins = ["github.com/caddy-dns/hetzner@c1104f8d1e376a062bce86cd53025c2187a6be45"];
# hash = "sha256-9ea0CfOHG7JhejB73HjfXQpnonn+ZRBqLNz1fFRkcDQ=";
# };
};
};
}

View File

@@ -2,6 +2,12 @@
services = {
prowlarr = {
enable = true;
settings = {
auth = {
authentication_enabled = true;
authentication_method = "External";
};
};
};
};
}