Skip to content

Instantly share code, notes, and snippets.

View scottkidder's full-sized avatar

Scott Kidder scottkidder

  • Grand Rapids, Michigan
View GitHub Profile
@schnell18
schnell18 / gitolite_cgit_ldap_nginx_integration.txt
Last active June 12, 2019 02:50
working nginx config to integrate Gitolite, cgit and LDAP.
ldap_server auth1 {
url "ldap://vmcentos64:389/ou=Users,ou=Accounts,dc=acme,dc=com?cn?sub?(objectClass=*)";
binddn "cn=manager,dc=acme,dc=com";
binddn_passwd password;
group_attribute cn;
group_attribute_is_dn on;
require valid_user;
}
#