File: //etc/apache2/sites-available/gdtraining.co.za-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName gdtraining.co.za
ServerAlias www.gdtraining.co.za test.gdtraining.co.za
ServerAdmin webmaster@gdtraining.co.za
DocumentRoot /home/gdtrain/public_html
AssignUserID gdtrain gdtrain
# AssignUserID gdtrainq gdtrain
Include zsdvirtualhostgeneric.conf
ErrorLog /home/gdtrain/log/error.log
LogLevel warn
CustomLog /home/gdtrain/log/access.log combined
ServerSignature On
# PHP settings requested for drupal
php_value upload_max_filesize 20M
php_value post_max_size 20M
php_value max_execution_time 60
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/gdtraining.co.za/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/gdtraining.co.za/privkey.pem
</VirtualHost>
</IfModule>