# 表情符号选择器和速率限制规则 (Cloudflare)

**URL:** <https://meta.discourse.org/t/emoji-picker-and-rate-limiting-rules-cloudflare/259647>\
**Category:** Support\
**Created:** [2023年三月28日 05:16 UTC](https://meta.discourse.org/t/emoji-picker-and-rate-limiting-rules-cloudflare/259647 "2023-03-28T05:16:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trieuvy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trieuvy/32/279302_2.png) [@trieuvy](https://meta.discourse.org/u/trieuvy)\
**Post date:** [2023年三月28日 05:16 UTC](https://meta.discourse.org/t/emoji-picker-and-rate-limiting-rules-cloudflare/259647/1 "2023-03-28T05:16:58Z")

</div>

大家好，

我最近发现，当我浏览 Discourse 的表情符号选择器时，我的 IP 地址受到了 Cloudflare 的速率限制规则功能的限制。我猜是因为加载了太多的表情符号图片，导致 Cloudflare 暂时阻止了我的 IP 地址。

那么，如何防止用户在 Discourse 中浏览表情符号选择器时，其 IP 地址被 Cloudflare 阻止呢？我[在 Cloudflare 社区发布了一个类似的问题](https://community.cloudflare.com/t/emoji-picker-and-rate-limiting-rules-cloudflare/482068)，但他们似乎忽略了我，所以我希望在这里找到一些帮助。

 ![](https://global.discourse-cdn.com/meta/original/4X/9/f/c/9fcfd21b07c887578e90ad302fb3d55d80dda19a.png)  
 ![image](https://global.discourse-cdn.com/meta/original/4X/5/c/b/5cb5e28b3ab9a17882108178152b2d56b9c1bcd0.png)

---

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [2023年三月28日 15:58 UTC](https://meta.discourse.org/t/emoji-picker-and-rate-limiting-rules-cloudflare/259647/2 "2023-03-28T15:58:16Z")

</div>

您应该移除或增加对静态资源路径（如 `/images`、`/uploads` 等）的速率限制规则。

---

<div class="post-metadata">

**Author:** ![trieuvy](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trieuvy/32/279302_2.png) [@trieuvy](https://meta.discourse.org/u/trieuvy)\
**Post date:** [2023年三月29日 03:03 UTC](https://meta.discourse.org/t/emoji-picker-and-rate-limiting-rules-cloudflare/259647/3 "2023-03-29T03:03:05Z")

</div>

好的，我已经找到了一个排除表情符号文件夹路径、跳过它们的方法，这样您的用户就不会再被 Cloudflare 规则阻止了。只需创建一个与下图类似的新规则。

**Cloudflare 仪表板 - 安全 - WAF - 创建规则**

 ![Screenshot 2023-03-29 at 09.57.45](https://global.discourse-cdn.com/meta/original/4X/4/3/9/439925729c97f5ecd1bc95db816f75256c1b21ee.png)

也要感谢 @Falco！

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2023年四月28日 03:03 UTC](https://meta.discourse.org/t/emoji-picker-and-rate-limiting-rules-cloudflare/259647/4 "2023-04-28T03:03:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
