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 = [
|
||||
{
|
||||
domain = "test.${cfg.domain}";
|
||||
policy = "one_factor";
|
||||
domain = fqdn;
|
||||
policy = "bypass";
|
||||
resources = [
|
||||
"^/api/.*"
|
||||
];
|
||||
}
|
||||
];
|
||||
] ++ cfg.rules;
|
||||
};
|
||||
identity_providers.oidc.clients = cfg.oidcClients;
|
||||
telemetry = {
|
||||
|
|
Loading…
Reference in a new issue