fix authelia configuration
This commit is contained in:
parent
cbd5d2644d
commit
ed1c28c1fd
1 changed files with 14 additions and 14 deletions
|
|
@ -46,7 +46,6 @@
|
|||
authentication_backend = {
|
||||
ldap = {
|
||||
url = "ldaps://ldap.cloonar.com";
|
||||
timout = "5s";
|
||||
base_dn = "DC=cloonar,DC=com";
|
||||
additional_users_dn = "OU=users";
|
||||
users_filter = "(&({username_attribute}={input})(objectClass=person))";
|
||||
|
|
@ -62,19 +61,19 @@
|
|||
};
|
||||
};
|
||||
|
||||
# access_control = {
|
||||
# default_policy = "deny";
|
||||
# rules = [
|
||||
# {
|
||||
# domain = ["auth.example.com"];
|
||||
# policy = "bypass";
|
||||
# }
|
||||
# {
|
||||
# domain = ["*.example.com"];
|
||||
# policy = "one_factor";
|
||||
# }
|
||||
# ];
|
||||
# };
|
||||
access_control = {
|
||||
default_policy = "one_factor";
|
||||
# rules = [
|
||||
# {
|
||||
# domain = ["auth.example.com"];
|
||||
# policy = "bypass";
|
||||
# }
|
||||
# {
|
||||
# domain = ["*.example.com"];
|
||||
# policy = "one_factor";
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
|
||||
session = {
|
||||
name = "authelia_session";
|
||||
|
|
@ -95,6 +94,7 @@
|
|||
host = "/run/mysqld/mysqld.sock'";
|
||||
database = "authelia";
|
||||
username = "authelia";
|
||||
password = "socket_auth";
|
||||
timeout = "5s";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue