This is the day we will learn how to add a rate limit from CloudFlare and thus protect our server.

We will go to our CloudFlare account and select Security > Security rules.
Rate Limit Rules

<
p Now we are going to indicate the following data:
Rule name: we will indicate what we want in my case Rate limit.
When incoming request…
Field: URI Path
Operator: wildcard
/*
The expression will be in this form: (http.request.uri.path wildcard r"/*")
We select: IP
Request: 10
Period: 10 seconds
Then take action: Block
For duration: 10 seconds
Place at: First
We click on save and deploy
You are ready, we have now configured our rate limit and it will limit the access of too many consecutive requests.
