# 429 请求过多，是好是坏？（求解答）

**URL:** <https://meta.discourse.org/t/429-too-many-requests-good-or-bad-please-help/410734>\
**Category:** Self-hosting\
**Created:** [2026年八月23日 13:42 UTC](https://meta.discourse.org/t/429-too-many-requests-good-or-bad-please-help/410734 "2026-08-23T13:42:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![aLinux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alinux/32/572713_2.png) [@aLinux](https://meta.discourse.org/u/aLinux)\
**Post date:** [2026年八月24日 15:41 UTC](https://meta.discourse.org/t/429-too-many-requests-good-or-bad-please-help/410734/8 "2026-08-24T15:41:32Z")

</div>

是的，但问题在于所有用户都使用同一个 IP……

我已经把这段配置加到 app.yml 里，现在正在测试：

> run:
> 
> - replace:  
> filename: /etc/nginx/conf.d/discourse.conf  
> from: “server {”  
> to: |  
> server {  
> set\_real\_ip\_from 192.168.1.250;  
> real\_ip\_header X-Forwarded-For;  
> real\_ip\_recursive on;
> - exec: echo “Beginning of custom commands”
> - exec: echo “End of custom commands”

刚才在桌面端和手机上都测试过了

现在能获取到正确的 IP 地址了 😃

---

_[View the full topic](https://meta.discourse.org/t/429-too-many-requests-good-or-bad-please-help/410734)._
