# IP已列入白名单，但出现限速错误

**URL:** <https://meta.discourse.org/t/rate-limit-errors-although-ip-is-whitelisted/233656>\
**Category:** Self-hosting\
**Created:** [2022年七月22日 13:39 UTC](https://meta.discourse.org/t/rate-limit-errors-although-ip-is-whitelisted/233656 "2022-07-22T13:39:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![MrBuBBLs](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mrbubbls/32/188786_2.png) [@MrBuBBLs](https://meta.discourse.org/u/MrBuBBLs)\
**Post date:** [2022年九月12日 09:28 UTC](https://meta.discourse.org/t/rate-limit-errors-although-ip-is-whitelisted/233656/2 "2022-09-12T09:28:38Z")

</div>

您好，Nginx 确实如您所述在管理速率限制，但 Discourse 也有自己的应用程序级别速率限制管理方式。Sam 有一篇关于此的有趣文章：

> [@Available settings for global rate limits and throttling](https://meta.discourse.org/t/configure-global-rate-limits-and-throttling/78612):
>
> Discourse ships with 3 different global rate limits that can be configured by site admins. Global per-ip rate limits These limits apply to every unique IP address that hits the Discourse application. (files that are served directly from the filesystem or the CDN are excluded) By default this rate limit is enabled, you may disable it or set it to a reporting mode. DISCOURSE\_MAX\_REQS\_PER\_IP\_MODE : default block, this rate limit applies out of the box. (other options are warn, warn+block, and n…

我唯一想知道的是，我们是否真的可以通过例外情况（即通过这些规则将 IP 列入白名单）来限制速率。我还在寻找方法…… 😅

---

_[View the full topic](https://meta.discourse.org/t/rate-limit-errors-although-ip-is-whitelisted/233656)._
