fix AH01328: Line too long
[via-proxy] / ssl.conf
1 Include /etc/letsencrypt/options-ssl-apache.conf
2
3 SSLCertificateFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/fullchain.pem
4 SSLCertificateKeyFile /etc/letsencrypt/live/p.vbz.ffzg.hr-0001/privkey.pem
5
6 <Location />
7
8         Order deny,allow
9         # allow local subnets
10         Allow from 193.198.212 193.198.213 193.198.214 193.198.215 
11         deny from all
12         # file is htpasswd as first try and ldap as second
13         AuthBasicProvider file ldap
14         AuthType basic
15         AuthUserFile /data/proxy/.htpasswd
16         AuthName "[ UPUTA: za pristup se koristi AAI korisnicki racun dobiven na FFZG. ]"
17
18         AuthLDAPURL "ldaps://ldap.ffzg.hr/dc=ffzg,dc=hr?hrEduPersonUniqueID?"
19
20         Require valid-user 
21         satisfy any
22
23
24         # ProxyAddHeaders needs to be inside location to make them work!
25         ProxyAddHeaders off
26
27 </Location>
28
29 # don't pass through authorization header!
30 RequestHeader unset Authorization
31
32 # http://httpd.apache.org/docs/2.4/mod/mod_proxy.html#request-bodies
33 #SetEnv proxy-sendcl 1
34 #SetEnv proxy-sendchunked 1