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