# Inconsistent / missing registration & last IP

**URL:** <https://meta.discourse.org/t/inconsistent-missing-registration-last-ip/124386>\
**Category:** Support\
**Created:** [July 30, 2019, 8:41am UTC](https://meta.discourse.org/t/inconsistent-missing-registration-last-ip/124386 "2019-07-30T08:41:47Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![calmh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/calmh/32/115466_2.png) [@calmh](https://meta.discourse.org/u/calmh)\
**Post date:** [August 10, 2019, 9:37pm UTC](https://meta.discourse.org/t/inconsistent-missing-registration-last-ip/124386/14 "2019-08-10T21:37:28Z")

</div>

I think the external reverse proxy is the key - I don’t think this is solvable at all, or at least not easily, from just within the Docker container.

I’ve solved it now by having the Discourse Docker listen on a Unix socket and front it with a Caddy on the same machine (_outside_ Docker). The Caddy setup is trivial, includes Let’s Encrypt, and now it works as expected for IPv6 as well.

```plaintext
forum.example.com {
  proxy / unix:/var/discourse/shared/web-only/nginx.http.sock {
    transparent
    websocket
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/inconsistent-missing-registration-last-ip/124386)._
