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