When forcing HTTPS, handle subfolder URLs properly

This fixes the redirection for Kanboard instances in subdirectories
(ex: /foo/bar/kanboard instead of the vhost's document root)
This commit is contained in:
Jean-François Fortin Tam 2018-07-22 09:11:30 -04:00 committed by Frédéric Guillot
parent 34909f7710
commit 88228c3510
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
############################
# RewriteCond %{HTTPS} !=on
# RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
</IfModule>
<IfModule pagespeed_module>