Rate Limit API Requests Firewall Rule

R
Renaudil y a 2 jours
0

Description

Adds a rule to your Vercel Firewall that rate limits API requests.

npx boilerapp rate-limit-api-requests-firewall-rule

文档

Rate Limit API Requests

A firewall rule template designed to implement rate limiting for API requests, helping to protect your API from abuse and ensure fair usage.

The rule defaults to the "log action". Set to "Deny" to actually block requests.

Consider customization

The generated firewall rule provides a basic rate limiting structure. Consider customizing the following parameters to suit your specific API needs:

  1. Request limit: Adjust the maximum number of requests allowed within the time window.
  2. Time window: Modify the duration for which the request limit applies.
  3. Allow list: Configure exceptions for trusted entities across 15+ parameters.
  4. Response: Customize the response sent when a client exceeds the rate limit.

Availability

Rate limiting is available to customers on Pro or Enterprise plans. \

Prix

Gratuit

FREE

评论 (0)

常见问题

常见问题解答 (FAQ)

有问题?我们有答案。如果您找不到想要的答案,请随时联系我们。

Boilerapp 是一个专门用于分享 Boilerplates、入门套件(Starter Kits)和项目模版的开发者社区平台。我们的目标很简单:为您节省初始配置(Setup)的时间,让您可以专注于真正重要的代码。无论您是在寻找简单的代码库还是完整的 SaaS 项目,都能在这里找到。

还有其他问题?

我们的团队随时为您提供帮助。联系我们,我们将尽快回复。