Приветствую! Не могу понять, в чем дело. Настроил SSL: - в /etc/apache2/ssl создал сертификаты cert.key и cert.pem; - конфиг сайта (/etc/apache2/sites-available.site1.local.conf):
<VirtualHost *:443>
ServerAdmin webmaster@site1.local
ServerName site.local
DirectoryIndex index.php index.html
DocumentRoot /var/www/site1.local/public
SSLEngine on
SSLCertificateFile ssl/cert.pem
SSLCertificateKeyFile ssl/cert.key
LogLevel warn
ErrorLog /var/www/site1.local/log/error.log
CustomLog /var/www/site1.local/log/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName site1.local
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
</VirtualHost>