I use Mirrorbrain behind a nginx reverse-proxy. I forward the IP in the HTTP
headers an it looks good in apache logs. But Mirrorbrain still display this int
he "mirrorlist" URL:
List of best mirrors for IP address (null), located in an unknown country.
Like you can see, it looks like the IP is not detect correctly (null). Any idea?
Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue156
msg557 (view) Author: Kelson Date: 2015-01-20.22:19:37
I use Mirrorbrain behind a nginx reverse-proxy. I forward the IP in the HTTP headers an it looks good in apache logs. But Mirrorbrain still display this int he "mirrorlist" URL: List of best mirrors for IP address (null), located in an unknown country.
Like you can see, it looks like the IP is not detect correctly (null). Any idea?
msg558 (view) Author: Kelson Date: 2015-01-21.10:33:03
I have found the solution. The problem is that the geoip, per default, does not scan the correct HTTP headers. This is my fix:
(end of migrated issue)