wip(lldap): Consultant
This commit is contained in:
@@ -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;
|
||||
'';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user