Tunnel works for wordpress en nginx but not for nextcloud


I have some proxmox installations (nginx, wordpress, cloudflare, nextcloud, … and so on. I did set up a tunnel in cloudflare and the tunnel is working fine for nginx and wordpress. But when I want to access my nextcloud it gives the error “ERR_TOO_MANY_REDIRECTS”. I tried several things that I found on the internet (YouTube, forums, …) but no luck. Could anyone please point me in the right direction.


Check that you don’t have flexible here: https://dash.cloudflare.com/?to=/:account/:zone/ssl-tls. If you do, then change it to Full (strict).

I already have set it to Full without any success

Oh, misread your post. Try changing the tunnel config to use HTTPS instead of HTTP. You might have to not verify SSL as the certificate name might be different on nextcloud then cloudflared is expecting.