mailserver accepting thunderbid login ldap

This commit is contained in:
goeranh 2025-05-30 23:09:51 +02:00
parent 4b03344165
commit 8cdbd6659f
No known key found for this signature in database
3 changed files with 125 additions and 38 deletions

View file

@ -13,6 +13,7 @@
};
services.authentik-ldap = {
enable = true;
environmentFile = "/var/lib/authentik-ldap-env";
};
services.authentik = {
enable = true;
@ -32,10 +33,25 @@
avatars = "initials";
};
nginx = {
enable = true;
enableACME = true;
host = "auth.${config.networking.domain}";
# nginx = {
# enable = true;
# enableACME = true;
# host = "auth.${config.networking.domain}";
# };
};
services.nginx = {
enable = true;
virtualHosts = {
"auth.${config.networking.domain}" = {
enableACME = true;
forceSSL = true;
locations."/" = {
proxyPass = "http://localhost:9000";
proxyWebsockets = true;
recommendedProxySettings = true;
};
};
};
};
}