cacert-devsetup/docker/apache-mgr-virtualhost.conf

27 lines
882 B
Text
Raw Permalink Normal View History

2020-12-22 08:49:18 +01:00
<VirtualHost *:443>
ServerName mgr.cacert.localhost
ServerAlias www.mgr.cacert.localhost
2020-12-22 15:51:13 +01:00
DocumentRoot /var/www/mgr/manager/public
2020-12-22 08:49:18 +01:00
SSLEngine on
SSLStrictSNIVHostCheck on
SSLProtocol all -SSLv2 -SSLv3 -TLSv1
SSLHonorCipherOrder on
SSLCipherSuite kEECDH:kEDH:AESGCM:ALL:!3DES!RC4:!LOW:!EXP:!MD5:!aNULL:!eNULL
2020-12-22 15:51:13 +01:00
SSLCertificateFile /etc/apache2/ssl/certs/mgr.cacert.localhost.crt.pem
SSLCertificateKeyFile /etc/apache2/ssl/private/mgr.cacert.localhost.key.pem
2020-12-22 08:49:18 +01:00
2020-12-22 15:51:13 +01:00
SSLCACertificateFile /etc/apache2/ssl/certs/combined.crt
SSLCADNRequestFile /etc/apache2/ssl/certs/clientca.crt
SSLVerifyClient optional
2020-12-22 08:49:18 +01:00
SSLVerifyDepth 2
SSLOptions +StdEnvVars
2020-12-22 15:51:13 +01:00
<Directory /var/www/mgr/manager/public>
Options Indexes FollowSymlinks MultiViews
AllowOverride Options FileInfo
</Directory>
2020-12-22 08:49:18 +01:00
Header always set Strict-Transport-Security "max-age=31536000"
</VirtualHost>