wip(lldap): Consultant

This commit is contained in:
Madeleine Sydney committed 2025-02-20 11:33:58 -07:00
commit a55aae8568
45 files changed
+3054 -55

No files matched your search

+5 -5
View File
@@ -89,11 +89,11 @@ in {
proxy_cache auth_cache;
proxy_cache_valid 200 10m;
proxy_cache_key "$http_authorization$cookie_nginxauth";
proxy_set_header X-Ldap-URL "ldap://localhost:${port}";
proxy_set_header X-Ldap-BaseDN "cn=people,${base-dn}";
proxy_set_header X-Ldap-BindDN "cn=${nginx-bind-user},${base-dn}";
proxy_set_header X-Ldap-BindPass "secret123";
proxy_set_header X-CookieName "nginxauth";
# proxy_set_header X-Ldap-URL "ldap://localhost:${port}";
# proxy_set_header X-Ldap-BaseDN "cn=people,${base-dn}";
# proxy_set_header X-Ldap-BindDN "cn=${nginx-bind-user},${base-dn}";
# proxy_set_header X-Ldap-BindPass "secret123";
# proxy_set_header X-CookieName "nginxauth";
proxy_set_header Cookie nginxauth=$cookie_nginxauth;
'';
};