add rules config to authelia module
This commit is contained in:
parent
5e9f4d1ea3
commit
56cc74c3ed
1 changed files with 6 additions and 3 deletions
|
@ -204,10 +204,13 @@ in
|
||||||
];
|
];
|
||||||
rules = [
|
rules = [
|
||||||
{
|
{
|
||||||
domain = "test.${cfg.domain}";
|
domain = fqdn;
|
||||||
policy = "one_factor";
|
policy = "bypass";
|
||||||
|
resources = [
|
||||||
|
"^/api/.*"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
] ++ cfg.rules;
|
||||||
};
|
};
|
||||||
identity_providers.oidc.clients = cfg.oidcClients;
|
identity_providers.oidc.clients = cfg.oidcClients;
|
||||||
telemetry = {
|
telemetry = {
|
||||||
|
|
Loading…
Reference in a new issue