# Troubleshooting a 429 (rate limit)

**URL:** <https://meta.discourse.org/t/troubleshooting-a-429-rate-limit/81060>\
**Category:** Self-hosting\
**Created:** [February 20, 2018, 6:20pm UTC](https://meta.discourse.org/t/troubleshooting-a-429-rate-limit/81060 "2018-02-20T18:20:41Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [October 9, 2018, 10:58pm UTC](https://meta.discourse.org/t/troubleshooting-a-429-rate-limit/81060/17 "2018-10-09T22:58:33Z")

</div>

Looking at other topics here, looks like I may need to do this?

```plaintext
- replace:
    filename: /etc/nginx/conf.d/discourse.conf
    from: "types {"
    to: |
      set_real_ip_from 10.0.0.0/24;
      set_real_ip_from 172.17.0.0/24;
      real_ip_header X-Forwarded-For;
      real_ip_recursive on;
      types {

```

From [this post](https://meta.discourse.org/t/last-ip-address-and-action-dispatch-trusted-proxies/50098/3) which was linked to from this one by Sam (and you (Jay) [commented](https://meta.discourse.org/t/haproxy-and-discourse-ip-issue/92387/3) on it - mentioning HAProxy).

---

_[View the full topic](https://meta.discourse.org/t/troubleshooting-a-429-rate-limit/81060)._
