From c20b900e33f80d6c1ece0114520f1fbbab8ed603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Mon, 20 Jan 2025 22:10:54 +0300 Subject: [PATCH] Add .htaccess file for HTTPS redirection - Introduced a new .htaccess file to enforce HTTPS by redirecting all HTTP requests to their HTTPS counterparts. - This change enhances security by ensuring that all traffic to the application is encrypted. --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..57f8380 --- /dev/null +++ b/.htaccess @@ -0,0 +1,3 @@ +RewriteEngine On +RewriteCond %{HTTPS} off +RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] \ No newline at end of file