# Limit\_req\_zone "flood" 已经绑定

**URL:** https://meta.discourse.org/t/limit-req-zone-flood-is-already-bound/366789
**Category:** Support
**Created:** [2025年五月20日 01:44 UTC](https://meta.discourse.org/t/limit-req-zone-flood-is-already-bound/366789 "2025-05-20T01:44:30Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [2025年五月20日 01:44 UTC](https://meta.discourse.org/t/limit-req-zone-flood-is-already-bound/366789/1 "2025-05-20T01:44:30Z")

</div>

我的自托管实例可能出现了什么问题？我在重建应用程序后看到这个错误：

```plaintext
nginx: [emerg] limit_req_zone "flood" is already bound to key "$binary_remote_addr" in /etc/nginx/conf.d/outlets/before-server/30-ratelimited.conf:1

```

我试过通过在 discourse-ai 添加一个 gem 来更换 discourse 镜像（没有成功），但我没有修改我的 `app.yml` 文件或其他任何东西。

---

<div class="post-metadata">

### Author: ![satonotdead](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/satonotdead/32/447830_2.png) [@satonotdead](https://meta.discourse.org/u/satonotdead)
#### Post date: [2025年五月21日 19:15 UTC](https://meta.discourse.org/t/limit-req-zone-flood-is-already-bound/366789/2 "2025-05-21T19:15:39Z")

</div>

没关系，我在 `./container/app.yml` 中禁用了基于速率限制的模板：

```plaintext
templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
# - "templates/web.ratelimited.template.yml"

```

---

<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: [2025年六月20日 19:16 UTC](https://meta.discourse.org/t/limit-req-zone-flood-is-already-bound/366789/3 "2025-06-20T19:16:19Z")

</div>

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