Skip to content

Commit

Permalink
Change the rule of forcing https to keep up the request uri
Browse files Browse the repository at this point in the history
  • Loading branch information
Giovanni Pires da Silva authored and LeoColomb committed Oct 8, 2017
1 parent 9a9ae86 commit 11e523d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/.htaccess
Expand Up @@ -348,7 +348,7 @@ AddDefaultCharset utf-8
# <IfModule mod_rewrite.c>
# RewriteEngine On
# RewriteCond %{HTTPS} !=on
# RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# </IfModule>

# ----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/rewrites/rewrite_http_to_https.conf
Expand Up @@ -8,5 +8,5 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</IfModule>

0 comments on commit 11e523d

Please sign in to comment.