Cloudflare Tunnel + login issue

cloudflare has a tunnel to my nextcloud VM with http on port 80. Cloudflare is Securing the tunnel automatically with ssl. I have a stange issue with login that you have to click the refresh browser button once credentials are entered to be able to login. Also the app on the phone will not login at all stating “Strict Mode: No http allowed”, strange as this connection is secured by cloudflare.

It may be behind HTTPS provided by Cloudflare, but sounds like there may be some configuration still necessary to make sure Nextcloud knows that.

Unfortunately you didn’t provide much to go on.

Have you configured your trusted_proxies and overwrite* parameters as per the Admin Manual?