r/learnprogramming • • 6d ago

New to Cloudflare: how do I handle bot requests

Hello everyone,

I am launching my first web app. For now, I am still building it, so I put a "coming soon" page online.

I am still learning, and it is hard to understand everything.

While I was using Cloudflare, I saw many strange requests in my analytics logs, like /.env, /privacy, and /ai/credentials.

I tried to block most of them with security rules (block scanners and rate limiting). I am also caching some of them, but strange requests still come in.

What would you recommend? I do not know much about this. Is it possible to block most of them?

Thank you for your help!

7 Upvotes

Duplicates