Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查看 Incapsula 的速率限制,它根据每分钟限制请求等。
Rate >= {api-rate;4}
有没有办法根据每秒进行速率限制?因此,如果一个 ip 每秒超过 1 个请求,则阻止它。
干杯
速率在每秒计算 1 分钟的滑动窗口中,因此您可以使用:Rate >= {api-rate;60}