429 请求过多,是好是坏?(求解答)

是的,但问题在于所有用户都使用同一个 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 地址了 :smiley: