Skip to content

Commit 32417d5

Browse files
authored
Create .htaccess
1 parent bc97add commit 32417d5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.htaccess

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# HTTPS redirect
2+
<IfModule mod_rewrite.c>
3+
RewriteEngine On
4+
RewriteCond %{HTTP:X-Forwarded-Proto} !https
5+
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
6+
</IfModule>

0 commit comments

Comments
 (0)