blob: b1dd55372b7be277692f1a1165e9601ea61030c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Alias /create /var/lib/repo_service/src/frontend
ProxyPass /create/api http://127.0.0.1:8023/
<Location /create>
Options -Indexes -ExecCGI
Allow from *
#
# Disable LDAP auth for now :/
#
# AuthType basic
# AuthBasicProvider ldap
# AuthName "LDAP Login"
# AuthLDAPBindDN "cn=apache-{{ ansible_nodename }},ou=service,dc=sublab,dc=org"
# AuthLDAPBindPassword "{{ ldap_credentials["apache-" + ansible_nodename] }}"
# AuthLDAPURL "{{ ldap_url }}/ou=people,dc=sublab,dc=org"
# # AuthzLDAPAuthoritative on
# # Require ldap-group cn=members,ou=groups,dc=sublab,dc=org
# Require valid-user
# And use basic auth instead
AuthType basic
AuthName "Wiki Login"
AuthUserFile "/etc/apache2/sites/{{ git_server_name }}/htpasswd"
Require valid-user
</Location>
#LDAPTrustedMode TLS
|