# Frequent nginx rate limiting with nginx also on the host

**URL:** <https://meta.discourse.org/t/frequent-nginx-rate-limiting-with-nginx-also-on-the-host/115885>\
**Category:** Self-hosting\
**Created:** [24.Апрель.2019 18:02:01 UTC](https://meta.discourse.org/t/frequent-nginx-rate-limiting-with-nginx-also-on-the-host/115885 "2019-04-24T18:02:01Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)\
**Post date:** [24.Апрель.2019 18:38:37 UTC](https://meta.discourse.org/t/frequent-nginx-rate-limiting-with-nginx-also-on-the-host/115885/5 "2019-04-24T18:38:37Z")

</div>

Thanks @supermathie.

Given that Docker is the standard deployment mechanism for Discourse, shouldn’t Discourse’s stock nginx config be set to include `172.17.0.1` as a `set_real_ip_from` directive out of the box?

---

_[View the full topic](https://meta.discourse.org/t/frequent-nginx-rate-limiting-with-nginx-also-on-the-host/115885)._
