nginx - GeoIP.dat.gz 和 GeoLiteCity.dat.gz 不再可用?获取 404 尝试加载它

标签 nginx geoip maxmind geoip2

前几天开始下载了

http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz

我用来启用的数据库ngx_http_geoip_module模块。

它一直是免费的,但现在可用。有人知道这个数据库最近的变化吗?

最佳答案

您可以使用 this script 将 MaxMind GeoLite2 数据库转换为旧格式。 :

示例:./geolite2legacy.py -i GeoLite2-Country-CSV.zip -f geoname2fips.csv -o GeoIP.dat
顺便说一句 - 有一个网站,您可以在此处找到有关旧格式的新数据:
https://www.miyuru.lk/geoiplegacy
(那里的文件是使用这个脚本构建的)

关于nginx - GeoIP.dat.gz 和 GeoLiteCity.dat.gz 不再可用?获取 404 尝试加载它,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54097838/

相关文章:

geoip - 如何将 Maxmind .MMDB 转换为 .DAT?

geolocation - geoLite2 IP 数据库的错误结果

amazon-web-services - AWS Elastic Beanstalk、Dockerrun.aws.json 和 docker run 上的多个端口

ruby-on-rails - Dockernized Nginx +(Rails + Unicorn)+ Redis + PostgreSQL:connect()失败(111:连接被拒绝)

php - Nginx 允许访问特定位置,并为所有其他返回 444

python - 在 Appengine 上使用 Pygeoip - 没有名为 mmap 的模块

database - 用于测试 MaxMind GeoIP DB 的 IP 地址

sitecore - 在 Sitecore 中根据访问者的 GEOIP 覆盖上下文语言?

maxmind - maxmind 依赖问题

php - Nginx + PHP-FPM 502 错误网关