# 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:** 20

<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 10, 2018, 12:51am UTC](https://meta.discourse.org/t/troubleshooting-a-429-rate-limit/81060/20 "2018-10-10T00:51:45Z")

</div>

Yay!! It’s done! IP’s are now showing correctly in the access log 😃

For some reason the spacing messed up in the snippet above, here it is for anyone who might need it in future:

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

```

Thank you @pfaffman and @sam and @mpalmer for your help 💙

---

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