padlist: configure ldap authentication

This commit is contained in:
Rouven Seifert 2023-08-22 15:37:42 +02:00
parent 6887bae0a3
commit 5c1af65721
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 10 additions and 0 deletions

View file

@ -27,6 +27,10 @@ in
root = pkgs.callPackage ../pkgs/padlist { };
enableACME = true;
forceSSL = true;
extraConfig = ''
auth_pam "LDAP Authentication Required";
auth_pam_service_name "nginx";
'';
locations = {
"= /" = {
extraConfig = ''