всем привет, я поставил vesta
https://fornex.com/help/ssl-lets-encrypt-vesta/ на свой апач сервер для установки бесплатного ssh сертификата.
проект у меня на ларавел, поэтому конфиг /etc/apache2/laravel.conf редиректа такой
/////
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/traderforbuilders/public
ServerName
example.com <Directory /var/www/html/traderforbuilders>
Options +FollowSymlinks
AllowOverride All
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
//////
Но после того как я поставил vesta сайт стал игнорить этот конфиг и теперь редиректит в /home/admin/web/
keymap.ru/public_html/index.htmlЯ закинул в папку индекса htacces с настроками, но мне не помогло.
//////
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
////
Как мне снова настроить редирект?