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