From 09df1d2accb2db2460e40e04c6668b18151869f2 Mon Sep 17 00:00:00 2001
From: pufok <127991427+pushokthefox@users.noreply.github.com>
Date: Fri, 4 Apr 2025 02:24:58 +0300
Subject: [PATCH] server access fixes and README
---
.htaccess | 3 +++
README.md | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
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
diff --git a/README.md b/README.md
index 86b7a62..3f47c73 100644
--- a/README.md
+++ b/README.md
@@ -28,7 +28,7 @@ The main goals of the project are:
Open my site:
-
+
---