ServerAdmin amcclure@ttm.sh ServerName dev.thunix.cf DocumentRoot /var/www/dev.thunix.cf ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Order deny,allow Deny from all Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/ftp.thunix.cf/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/ftp.thunix.cf/privkey.pem ServerAdmin amcclure@ttm.sh ServerName dev.thunix.cf DocumentRoot /var/www/dev.thunix.cf ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined Order deny,allow Deny from all 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} =dev.thunix.cf # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]