I have Kirby site behind Cloudflare that’s running fine, except whenever I click a tab the panel tries to fetch the api over http which fails due to CORS.
The url
option in config.php
is set to https + domain. Everything else (the front end, loading the panel, navigating to pages in the panel) is working fine. Checking the Kirby environment it indicates it’s working over https and isBehindProxy
is true. The site is on Kirby 4.3.0 and PHP 8.2.6.
The TLS setup is ‘Flexible’, meaning traffic between Cloudflare and the site is over http so I suspect that has something to do with it, but I have no idea how to fix it.