Ok, here's what I did to obtain this error :
1) Made my website work well with http
2) Inserted "flexible" https rules on my cloudflare config for the subdomain where my forum is installed
3) Changed the config file to match the https url
4) Cleared all caches (flarum, cloudflare, browser)
Since that, I have the error "Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error".
When I activate debug mode, I don't see any messages, even after clearing caches again. I checked logs and I saw some errors, but can't understand what they are or if they are related to the issue :
#25 /home/dasiwuididdd/data/www/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#26 /home/dasiwuididdd/data/www/vendor/laminas/laminas-stratigility/src/Next.php(61): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
Thank you in advance for your help.