File: //etc/apache2/sites-enabled/023-andresramirezvfx.com-le-ssl.conf.dis
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName andresramirezvfx.com
ServerAlias www.andresramirezvfx.com
DocumentRoot /var/www/vhosts/andresramirezvfx.com/docroot
<Directory /var/www/vhosts/andresramirezvfx.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/andresramirezvfx.com.sock|fcgi://andresramirezvfx.com"
</FilesMatch>
<FilesMatch ".+\.phps$">
Require all denied
</FilesMatch>
<FilesMatch "^\.ph(ar|p|ps|tml)$">
Require all denied
</FilesMatch>
</Directory>
Alias /pmadm /var/www/pmadm/
<Directory "/var/www/pmadm">
AllowOverride None
Options None
Order allow,deny
Allow from 107.20.185.102
Allow from 138.201.82.136
<IfModule setenvif_module>
SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<FilesMatch ".+\.ph(ar|p|tml)$">
SetHandler "proxy:unix:/run/php/pmadm.sock|fcgi://pmadm"
</FilesMatch>
<FilesMatch ".+\.phps$">
Require all denied
</FilesMatch>
<FilesMatch "^\.ph(ar|p|ps|tml)$">
Require all denied
</FilesMatch>
</Directory>
ErrorLog ${APACHE_LOG_DIR}/andresramirezvfx.com-error_log
CustomLog ${APACHE_LOG_DIR}/andresramirezvfx.com-access_log common
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateFile /etc/letsencrypt/live/andresramirezvfx.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/andresramirezvfx.com/privkey.pem
</VirtualHost>
</IfModule>