Skip to content

Commit

Permalink
[/] 修正从 http 重定向到 https后, url末尾会有两个斜线(/)的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aploium committed Sep 11, 2016
1 parent 4b52061 commit 64c104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configs/apache2-http.conf
Expand Up @@ -12,7 +12,7 @@
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]
</IfModule>

ServerAdmin admin@localhost
Expand Down

0 comments on commit 64c104b

Please sign in to comment.