Discourse mostra IP do servidor/localhost como IP do usuário

The answer was linked above. You need something like this.

4 curtidas