Actually, I think this may have been because after upgrading Nginx, it reinstalled the default.conf file. I've removed it, left the config above, restarted Nginx, and the internal IP doesn't seem to be leaking any longer. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,270932,270935#msg-270935