My nextcloud instance is working quite well, but I can’t put it under cloudflare. As soon as I do it, if I want to edit some of my contacts, I get error “responded with status 412” and it doesn’t work (and I used to notice many sync errors).
Setups with proxies can be a tricky to set up since errors can be triggered from the NC webserver or the proxy. I don’t know what tools cloudflare provides to analyze errors. They could perhaps filter some request they consider malicious.