File: //etc/apache2/sites-enabled/019-wbhr.seesawlabs.com.conf
<VirtualHost *:80>
ServerName wbhr.seesawlabs.com
DocumentRoot /var/www/vhosts/wbhr.seesawlabs.com/docroot
<Directory /var/www/vhosts/wbhr.seesawlabs.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/wbhr.seesawlabs.com.sock|fcgi://wbhr.seesawlabs.com"
</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}/wbhr.seesawlabs.com-error_log
CustomLog ${APACHE_LOG_DIR}/wbhr.seesawlabs.com-access_log common
RewriteEngine on
RewriteCond %{SERVER_NAME} =wbhr.seesawlabs.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>