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