# Too Many Requests

**URL:** <https://meta.discourse.org/t/too-many-requests/181802>\
**Category:** Support\
**Created:** [March 3, 2021, 4:38pm UTC](https://meta.discourse.org/t/too-many-requests/181802 "2021-03-03T16:38:50Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [March 3, 2021, 4:48pm UTC](https://meta.discourse.org/t/too-many-requests/181802/2 "2021-03-03T16:48:29Z")

</div>

See [Last IP address and action\_dispatch.trusted\_proxies - #3 by mpalmer](https://meta.discourse.org/t/last-ip-address-and-action-dispatch-trusted-proxies/50098/3)

Something like this:

```plaintext
    # This is the magic to get IP numbers transmitted to Discourse
    # See https://meta.discourse.org/t/last-ip-address-and-action-dispatch-trusted-proxies/50098/3?u=pfaffman
    - replace:
        filename: /etc/nginx/conf.d/discourse.conf
        from: "types {"
        to: |
          set_real_ip_from 192.168.1.0/24;
          set_real_ip_from 172.19.0.0/24;
          set_real_ip_from 172.18.0.0/24;
          set_real_ip_from 172.17.0.0/24;
          set_real_ip_from 38.242.7.193/28;
          real_ip_recursive on;
          real_ip_header X-Forwarded-For;
          types {

```

---

_[View the full topic](https://meta.discourse.org/t/too-many-requests/181802)._
