ServerAdmin webmaster@thunix.net
ServerName phoenix.thunix.cf
DocumentRoot /var/www/thunix.cf
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
Order deny,allow
Deny from all
RewriteEngine on
RewriteCond %{SERVER_NAME} =phoenix.thunix.cf
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
ServerAdmin webmaster@thunix.net
ServerName phoenix.thunix.cf
DocumentRoot /var/www/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/phoenix.thunix.cf/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/phoenix.thunix.cf/privkey.pem