45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
<VirtualHost *:80>
|
|
ServerName nuc0
|
|
ServerAlias nuc0.fritz.box
|
|
DocumentRoot /var/www
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/nuc0.log combined
|
|
|
|
Redirect permanent / https://nuc0/
|
|
|
|
</VirtualHost>
|
|
|
|
<VirtualHost *:8443>
|
|
ServerName nuc0
|
|
ServerAlias nuc0.fritz.box
|
|
DocumentRoot /var/www
|
|
|
|
CustomLog ${APACHE_LOG_DIR}/nuc0_ssl.log combined
|
|
|
|
# enable HTTP/2, if available
|
|
Protocols h2 http/1.1
|
|
|
|
Include cipher.conf
|
|
SSLCertificateFile /etc/ssl/nuc0.lan.crt
|
|
SSLCertificateChainFile /etc/ssl/certs/balusign-signing-ca.pem
|
|
SSLCertificateKeyFile /etc/ssl/private/nuc0.lan.key
|
|
|
|
# SSLCertificateFile /etc/letsencrypt/live/zntrl.de/cert.pem
|
|
# SSLCertificateChainFile /etc/letsencrypt/live/zntrl.de/chain.pem
|
|
# SSLCertificateKeyFile /etc/letsencrypt/live/zntrl.de/privkey.pem
|
|
|
|
Include conf-available/z-push-autodiscover.conf
|
|
Include conf-available/z-push.conf
|
|
Include sites-available/kopano-webapp.conf
|
|
|
|
<Directory /var/www>
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
</VirtualHost>
|
|
|
|
SSLUseStapling On
|
|
SSLStaplingCache "shmcb:logs/ssl_stapling(32768)"
|
|
|