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.
This commit is contained in:
Ümit Tunç
2025-01-20 22:10:54 +03:00
parent 5c96b6b72e
commit c20b900e33
+3
View File
@@ -0,0 +1,3 @@
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]