added htaccess with https redirection

This commit is contained in:
asus
2023-11-30 14:08:27 +01:00
parent 49bc7be27f
commit c86952d172
2 changed files with 15 additions and 0 deletions

4
.htaccess Normal file
View File

@@ -0,0 +1,4 @@
# adding https redirection :
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]