I wanted to increase a website speed and make it secure
Read this and try again:
https://forum.virtualmin.com/faq
Why did you tag your post as a feature request?!
New to here has ignored the required/requested info :sympathy
you need to work out how these systems work, maybe cloudflare will not make any difference to anything that is supplied by default apart from trying to debug cloudflare when you set up things incorrectly within the cloudflare environment, learn to walk before you run
Have you tried setting up Cloudflare’s free plan yet? It’s surprisingly easy—just switch your nameservers and you’re set for speed and security without touching your PHP code.
Cloudflare doesn’t really do either of those things for most dynamic websites.
Adding an additional hop for dynamic pages can only ever make the page load slower. For static assets (images, static HTML, video, JS, CSS), Cloudflare (or any other CDN) can make delivery faster, but you’re talking about PHP pages, so…probably not faster in that case.
And, while there are some DDoS protections that Cloudflare can provide, it doesn’t prevent most categories of security issue, and introduces a MITM since they’re terminating your TLS connections.
I’ve removed your last comment, as it looks like spam. If you have specific questions, we’ll be happy to try to answer, but just posting vague topics in order to post links to your website isn’t really in line with our guidelines.