From 1a133f5f917d8c48e1eb67b20a77a82f4ef74fb1 Mon Sep 17 00:00:00 2001 From: pufok <127991427+pushokthefox@users.noreply.github.com> Date: Fri, 4 Apr 2025 02:22:46 +0300 Subject: [PATCH] server access fixes --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) 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