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