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 9a9ae86 commit 11e523dCopy full SHA for 11e523d
dist/.htaccess
@@ -348,7 +348,7 @@ AddDefaultCharset utf-8
348
# <IfModule mod_rewrite.c>
349
# RewriteEngine On
350
# RewriteCond %{HTTPS} !=on
351
-# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
+# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
352
# </IfModule>
353
354
# ----------------------------------------------------------------------
src/rewrites/rewrite_http_to_https.conf
@@ -8,5 +8,5 @@
8
<IfModule mod_rewrite.c>
9
RewriteEngine On
10
RewriteCond %{HTTPS} !=on
11
- RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
+ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
12
</IfModule>
0 commit comments