We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b09d86c commit 72a8cfbCopy full SHA for 72a8cfb
static/.htaccess
@@ -2,8 +2,8 @@
2
RewriteEngine on
3
4
# Transfer everything from http to https
5
-RewriteCond %{HTTPS} off
6
-RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+RewriteCond %{HTTP:X-Forwarded-Proto} !https
+RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=302,L]
7
8
# Redirect visitors who request the root domain path (e.g. www.sparna.fr) to the appropriate language version
9
# Fallback to English version if no matching browser language defined
0 commit comments