Skip to content

Commit 1d71733

Browse files
committed
Add option for load doc website under https
1 parent 7b2d746 commit 1d71733

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.htaccess

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ RewriteRule ^([a-z]{2})/?$ index.php?l=$1 [L]
1111
# e.g. http://my-site.com/my-page/en/
1212
RewriteRule ^([a-z]{2})/([^/]+)/?$ index.php?p=$2&l=$1 [L]
1313

14+
# Force the URL to be https (only if you have an SSL certificate)
15+
# RewriteCond %{HTTP:X-Forwarded-SSL} off
16+
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

0 commit comments

Comments
 (0)