RewriteEngine on
RewriteBase/test /
RewriteRule ^ index.html $index.php [L, R = 301]
RewriteRule ^ news. */Test/[R = 301, L]
RewriteRule ^ hoge1. */Test/[R = 301, L]
RewriteRule ^ hoge2. */Test/[R = 301, L]

There is an .htaccess file that is currently set like this, but
(If i access the test route with index.html, skip to index.php.
If i access the old directory, skip to the root of test)

In this state,
I want to add something to skip to http⇒https, (all pages regardless of the above file)

RewriteRule ^ (. *) $https: //% {HTTP_HOST}% {REQUEST_URI} [R, L]
I added

, but it did not work because I got a loop redirection error. .
How should it be rewritten?