File: //etc/apache2/sites-available/gfstudiosalvador.com.br-ssl.conf
<VirtualHost *:443>
ServerName gfstudiosalvador.com.br
ServerAlias www.gfstudiosalvador.com.br
DocumentRoot /var/www/sites/29068/public_html
ErrorLog /var/www/sites/29068/log/gfstudiosalvador.com.br-ssl-error_log
CustomLog /var/www/sites/29068/log/gfstudiosalvador.com.br-ssl-access_log common
ScriptAlias /cgi-bin/ /var/www/sites/29068/cgi-bin/
ScriptAlias /fcgi-bin/ /var/www/cgi-bin/
alias /.well-known /var/www/ssl/.well-known
#REDIRECT
#ENDREDIRECT
#ADDEXTRA1
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<IfModule mod_fcgid.c>
Alias /fcgi-bin/ /var/www/sites/cgi-bin/
<Location /fcgi-bin/>
SetHandler fcgid-script
Options +ExecCGI
</Location>
SuexecUserGroup "webmaster" "webmaster"
<Directory /var/www/sites/29068/public_html>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
AddHandler php-fcgi .php
Action php-fcgi /fcgi-bin/php-29068
FCGIWrapper /var/www/cgi-bin/php-29068 .php
IncludeOptional /var/www/sites/29068.ips
AllowOverride All
</Directory>
</IfModule>
<Directory /var/www/sites/29068/cgi-bin>
Options ExecCGI
Allow from all
Require all granted
</Directory>
include /etc/apache2/include.conf
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/gfstudiosalvador.com.br/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/gfstudiosalvador.com.br/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/gfstudiosalvador.com.br/fullchain.pem
#ADDEXTRA2
</VirtualHost>