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