nginx config added

This commit is contained in:
root
2017-07-23 00:31:56 +02:00
parent b9dea1ad37
commit ea2aab5715
2 changed files with 97 additions and 0 deletions

9
nginx_ldap.conf Normal file
View File

@@ -0,0 +1,9 @@
# -*-nginx-*-
auth_ldap_cache_enabled on;
ldap_server fet {
url ldap://192.168.86.18:389/ou=user,dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at?uid?sub?(objectClass=person); # gagarin
binddn 'uid=pschlechter,ou=user,dc=fet,dc=htu,dc=tuwien,dc=ac,dc=at';
binddn_passwd '4vDB_JcaE7kR';
require valid_user;
}