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:
committed by
Frédéric Guillot
parent
34909f7710
commit
88228c3510
@@ -26,7 +26,7 @@
|
|||||||
############################
|
############################
|
||||||
|
|
||||||
# RewriteCond %{HTTPS} !=on
|
# RewriteCond %{HTTPS} !=on
|
||||||
# RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
|
# RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
<IfModule pagespeed_module>
|
<IfModule pagespeed_module>
|
||||||
|
|||||||
Reference in New Issue
Block a user