ERR_TOO_MANY_REDIRECTS with https on bedrock

Hello, i have ERR_TOO_MANY_REDIRECTS when i change my domain from http to https in .env file
I’m not using trellis, i’m on shared a2hosting server with let’s encrypt and all other website works fine.
But on one site i have this kind of error, anyone can help me?

.htaccess file

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Thank you!

The cause was the certificate on “flex” instead of “full” on cloudflare.