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