init
This commit is contained in:
commit
d4bea4c7c5
12 changed files with 328 additions and 0 deletions
16
services/lldap.nix
Normal file
16
services/lldap.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
services.lldap = {
|
||||
enable = true;
|
||||
settings = {
|
||||
http_url = "https://login.distrust.network";
|
||||
ldap_user_email = "root@distrust.network";
|
||||
ldap_user_dn = "root";
|
||||
ldap_base_dn = "dc=distrust,dc=network";
|
||||
ldap_user_pass = "VERY_SECURE";
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."login.distrust.network".extraConfig = ''
|
||||
reverse_proxy localhost:17170
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue