diff --git a/.htaccess b/.htaccess index b0e00a1..f2c759a 100644 --- a/.htaccess +++ b/.htaccess @@ -5,4 +5,7 @@ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.html [L] + # Редирект с HTTP на HTTPS + RewriteCond %{HTTPS} off + RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] \ No newline at end of file