# Last IP shows Reverse Proxy IP address

**URL:** https://meta.discourse.org/t/last-ip-shows-reverse-proxy-ip-address/113032
**Category:** Support
**Created:** [March 31, 2019, 12:25am UTC](https://meta.discourse.org/t/last-ip-shows-reverse-proxy-ip-address/113032 "2019-03-31T00:25:10Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![schleifer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schleifer/32/86416_2.png) [@schleifer](https://meta.discourse.org/u/schleifer)
#### Post date: [April 1, 2019, 4:12pm UTC](https://meta.discourse.org/t/last-ip-shows-reverse-proxy-ip-address/113032/5 "2019-04-01T16:12:26Z")

</div>

If you have a single IP for the proxy, something like:

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

```

---

_[View the full topic](https://meta.discourse.org/t/last-ip-shows-reverse-proxy-ip-address/113032)._
