<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName http://www.yme.nz
ServerAlias yme.nz
DocumentRoot /var/www/yme
ServerAdmin bruce@rhodeworks.nz
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} =yme.nz
# RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/yme.nz/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/yme.nz/privkey.pem
</VirtualHost>
</IfModule>
|