Adding rate limiting rule to Cloudflare

  1. Log in to your Cloudflare account.
  2. Click on the “Security” -> “WAF” tab.
  3. Select “Custom Rules” from the top menu.
  4. Click on the “Create rule” button.
  5. Enter the following details:
    • Rule name: MineStore API
    • When incoming requests match:
      • Field: URI Path
      • Operator: contains
      • Value: /api
    • Expression preview: (http.request.uri.path contains "/api")
    • Action: Skip
    • WAF Components to skip: Select all components and all from “More components to skip”.
  6. Click on the “Deploy” button.