Config for cloudflare

Hello, I would like to know what needs to be done for nextcloud to work properly with cloudflare ? I have my instance running fine, but if I put it under cloudflare, I will have a lot of sync errors (not in the log, but it crashes, I have to restart the sync a lot), problem while saving contacts (it doesn’t save), issues when logging in.

Thank you! :slight_smile:

Cloudflare was especially mentioned here:
https://docs.nextcloud.com/server/12/admin_manual/issues/general_troubleshooting.html#other-issues

I have checked that, it’s not the issue, the JS is not compressed and modified at all.