How to configure new Rate Limiting Rules in Cloudflare WAF

The Cloudflare WAF provides both automatic protection from vulnerabilities and the flexibility to create custom rules. The order of the rules tabs below represents the sequence of traffic except for tools. In Rate limiting rules
tab, you can customize rules for request limit.
How to configure?
Step 1:
To access to rate limiting rules, click Menu > Security > WAF > Rate limiting rules. Click Create rate limiting rule
:
Step 2:
Type rule name, expression value, action, requests in period. After click Save. See below image:
If you want execute rule on all path, you can edit expression as below image:
Replace
(http.request.uri.path eq "/")
with true
:
Step 3:
You can increase requests to 2 to test this rule is working:
Enjoying!