rm apache macro conf

This commit is contained in:
Matthew Saunders Brown 2021-04-04 14:09:44 -07:00
parent ff87d250d7
commit 699136907f

View File

@ -1,20 +0,0 @@
# VMailHTTPS for roundcubemail webmail at mail. subdomain assumes & requires https w/ valid cert
# Webmail - HTTP Port 80 Redirects to HTTPS Port 443
<Macro VMailHTTPS $vhost>
<VirtualHost *:80>
ServerName $vhost
<Location "/">
<If "%{REQUEST_URI} !~ m#^/.well-known/acme-challenge/#">
Redirect / https://$vhost
</If>
</Location>
</VirtualHost>
<VirtualHost *:443>
ServerName $vhost
DocumentRoot /srv/www/html/roundcubemail/
SSLEngine on
SSLCertificateFile /etc/ssl/letsencrypt/$vhost.pem
</VirtualHost>
</Macro>