Discourse broken after moving servers

You should disable all rules in Cloudflare, including Rocket Launcher and anything WAF.

If you keep your Cloudflare config clean, it does not cause any problems with Discourse.