ServerName {{ispmail_fqdn}} DocumentRoot /var/www/{{ispmail_fqdn}} RewriteEngine On RewriteCond %{REQUEST_URI} !\.well-known/acme-challenge RewriteRule ^(.*)$ https://%{SERVER_NAME}/ [R=301,L]