Skip to content

Commit d98a7fb

Browse files
committed
Try redirecting http to https
1 parent 304af2f commit d98a7fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_layouts/htaccess.html

+3
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
{% endif %}
1313
{% endfor %}
1414

15+
RewriteCond %{HTTPS} off
16+
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
17+
1518
ErrorDocument 404 /404.html
1619

0 commit comments

Comments
 (0)