Hey @bigneshwardas
Cloudflare can be configured to work with Discourse, but it’s generally inadvisable to do so.
Discourse isn’t a website in the conventional sense, it’s a single-page JavaScript app. With the CloudFlare proxy enabled, every client-server request is going to be delayed by taking those extra hops across the CloudFlare network.
Is your site at legitimate risk of DDOS, or is this just something you want to enable as a precaution?
If you’re determined to get things working you will need to ensure that a page rule at CloudFlare has been configured to ‘Disable Performance’ for the entire domain which serves the Discourse site, as CloudFlare has been known to interfere with the contents of the JavaScript app.
You will also need to ensure that the container has been rebuilt after you add the CloudFlare template to your app.yml.
I would recommend running with the proxy disabled, and revisit this in the future.