# Rate Limiting w/ Reverse Proxy

**URL:** https://meta.discourse.org/t/rate-limiting-w-reverse-proxy/209354
**Category:** Self-hosting
**Created:** [November 16, 2021, 8:26pm UTC](https://meta.discourse.org/t/rate-limiting-w-reverse-proxy/209354 "2021-11-16T20:26:57Z")
**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: [November 16, 2021, 9:25pm UTC](https://meta.discourse.org/t/rate-limiting-w-reverse-proxy/209354/2 "2021-11-16T21:25:49Z")

</div>

> [@forkythetoy](#):
>
> From this thread, it seems like someone just deleted that line outright [Last IP shows Reverse Proxy IP address - #5 by schleifer](https://meta.discourse.org/t/last-ip-shows-reverse-proxy-ip-address/113032/5)

Did you add that stanza to your `app.yml`? Those settings need to be in the NGINX that is inside the container. See also [Set up Discourse on a server with existing Apache sites](https://meta.discourse.org/t/how-to-set-up-discourse-on-a-server-with-existing-apache-sites/30013). That’s for Apache, but the part that goes in `app.yml` is the same regardless of what is doing the reverse proxy.

---

_[View the full topic](https://meta.discourse.org/t/rate-limiting-w-reverse-proxy/209354)._
