As you may know that Mediawiki can set to send a confirmation email regarding user's registration. It contain the IP address that the user used.
For some reason after we set up full ssl and varnish cache, the only IP address in log regarding register is 127.0.0.1.
However, if user submit a page edit then we could get correct IP address though Special:UserRights by Extension:CheckUser.
What's the different between Special:UserRights and registration IP detect mechanism? What I might do to fix this problem?