I think you are missing the X-Forwarder-for header support, set by httpd/nginx fronting Nexus for example.