Skip to content

Commit 72a8cfb

Browse files
committed
fix .htaccess... finally
1 parent b09d86c commit 72a8cfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
RewriteEngine on
33

44
# Transfer everything from http to https
5-
RewriteCond %{HTTPS} off
6-
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
5+
RewriteCond %{HTTP:X-Forwarded-Proto} !https
6+
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
77

88
# Redirect visitors who request the root domain path (e.g. www.sparna.fr) to the appropriate language version
99
# Fallback to English version if no matching browser language defined

0 commit comments

Comments
 (0)