File: //etc/apache2/sites-available/sketchedstudio.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
Servername www.sketchedstudio.com
ServerAlias sketchedstudio.com
ServerAdmin webmaster@zsd.co.za
Redirect permanent / https://www.sketchdstudio.com/
Include zsdvirtualhostgeneric.conf
RewriteEngine on
# Some rewrite rules in this file were disabled on your HTTPS site,
# because they have the potential to create redirection loops.
# RewriteCond %{SERVER_NAME} =www.sketchedstudio.com [OR]
# RewriteCond %{SERVER_NAME} =sketchedstudio.com
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/sketchedstudio.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/sketchedstudio.com/privkey.pem
</VirtualHost>
</IfModule>