blob: 299d5d6d8552f115f6e4e5714c7fa377ebc2f14a (
plain) (
blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<VirtualHost *:443>
ServerName %DOMAIN%
UseCanonicalName On
DocumentRoot /var/www/masterserver
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Location /shibboleth-ds>
Require all granted
AuthType shibboleth
ShibRequestSetting requireSession false
require shibboleth
</Location>
<Location /Shibboleth.sso>
AuthType None
Require all granted
</Location>
<Location /shibboleth-sp>
AuthType None
Require all granted
</Location>
Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css
Alias /shibboleth-sp/logo.jpg /usr/share/shibboleth/logo.jpg
<Location /webif/shib>
AuthType shibboleth
ShibRequestSetting requireSession true
require valid-user
</Location>
<Location /thrift>
ProxyPass "http://127.0.0.1:8090/" connectiontimeout=5 timeout=30 max=5
ProxyPassReverse "http://127.0.0.1:8090/"
</Location>
# optional (Metadata-Access at entityID-URL)
Redirect seeother /shibboleth /Shibboleth.sso/Metadata
RedirectMatch /start-session$ /Shibboleth.sso/Login
LogLevel warn
ErrorLog ${APACHE_LOG_DIR}/masterserver/error.log
CustomLog ${APACHE_LOG_DIR}/masterserver/access.log combined
SSLEngine on
SSLOptions +StrictRequire
# HSTS (mod_headers is required) (15768000 seconds = 6 months)
Header always set Strict-Transport-Security "max-age=15768000"
SSLCertificateFile /opt/bwlp/ssl/live/ssl-cert/cert.pem
SSLCertificateKeyFile /opt/bwlp/ssl/live/ssl-cert/privkey.pem
SSLCertificateChainFile /opt/bwlp/ssl/live/ssl-cert/chain.pem
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
</VirtualHost>
|