New login notification shows docker IP

When i receive email notifications regarding new logins the IP that is shown is the IP of the docker_public network and not the actual public IP. I’ve tried configuring the real_ips section with the 192 and 172 subnet range as suggested online but that doesn’t seem to work.

Anyone have any ideas or solutions?


Did you run ./ rebuild after configuring real_ips?


Yes, i did. I can see it is set inside the nginx conf but nothing happens in terms of the IP changing to the actual public IP