ServerName %DOMAIN% UseCanonicalName On DocumentRoot /var/www/masterserver Options FollowSymLinks AllowOverride None Require all granted AuthType shibboleth ShibRequestSetting requireSession false require shibboleth AuthType None Require all granted AuthType None Require all granted Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css Alias /shibboleth-sp/logo.jpg /usr/share/shibboleth/logo.jpg AuthType shibboleth ShibRequestSetting requireSession true require valid-user # 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 SSLOptions +StdEnvVars