I am testing Cloudflare with a dummy website. I have an nginx server and a website set up with Nextjs. I have successfully configured nameservers in the cloudflare dashboard and it is working. But the problem is that I do not see anything related to cloudflare. I have used cdn checker websites to know if I am using cloudflare and turns out I am and if I make a curl request in the terminal there are cloudflare headers but in the browser there are none.
That may very well be because of the insecure legacy encryption mode you selected on Cloudflare, which is known for breaking sites. You have no valid certificate on your server either.
You best pause Cloudflare and make sure the site loads fine on HTTPS first. Then it should also work on Cloudflare.
I have changed my A DNS record IP address on Cloudflare to something else (my old hosting provider’s IP address I think.) and now my website content is gone of course and there is the default page but now Cloudflare is working and I see the response headers from cloudflare. So that means when I enter my IP address is there something wrong with my Nginx setup and it is blocking the Cloudflare?