File: //etc/apache2/sites-enabled/020-squarehillcompany.com-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName squarehillcompany.com
ServerAlias www.squarehillcompany.com
DocumentRoot /var/www/vhosts/squarehillcompany.com/docroot
ErrorLog ${APACHE_LOG_DIR}/squarehillcompany.com-error_log
CustomLog ${APACHE_LOG_DIR}/squarehillcompany.com-access_log common
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/squarehillcompany.com-0001/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/squarehillcompany.com-0001/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/squarehillcompany.com-0001/chain.pem
<Directory /var/www/vhosts/squarehillcompany.com/docroot>
Options FollowSymLinks
AllowOverride All
<IfModule setenvif_module>
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<FilesMatch ".+\.ph(ar|p|tml)$">
SetHandler "proxy:unix:/run/php/squarehillcompany.com.sock|fcgi://squarehillcompany.com"
</FilesMatch>
<FilesMatch ".+\.phps$">
Require all denied
</FilesMatch>
<FilesMatch "^\.ph(ar|p|ps|tml)$">
Require all denied
</FilesMatch>
</Directory>
</VirtualHost>
</IfModule>