File: //etc/apache2/sites-enabled/cvsa.co.uk-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName cvsa.co.uk
ServerAlias www.cvsa.co.uk
DocumentRoot /home/cvsa.co.uk/public_html
ErrorLog ${APACHE_LOG_DIR}/cvsa.co.uk.error.log
CustomLog ${APACHE_LOG_DIR}/cvsa.co.uk.access.log combined
DirectoryIndex index.php index.html
<Directory /home/cvsa.co.uk/public_html>
AllowOverride all
Require all granted
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/run/php/cvsacouk.sock|fcgi://localhost/"
</FilesMatch>
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/cvsa.co.uk/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/cvsa.co.uk/privkey.pem
</VirtualHost>
</IfModule>