nginx-geoip2:nginx geoip geoip2 模块,集成最新的免费 maxmind geoip mmdb 数据

时间:2021-05-30 15:40:10
【文件属性】:
文件名称:nginx-geoip2:nginx geoip geoip2 模块,集成最新的免费 maxmind geoip mmdb 数据
文件大小:30.34MB
文件格式:ZIP
更新时间:2021-05-30 15:40:10
Shell Nginx 编译安装 安装 libmaxminddb $ wget https://github.com/maxmind/libmaxminddb/releases/download/1.3.2/libmaxminddb-1.3.2.tar.gz $ tar -zxvf libmaxminddb-1.3.2.tar.gz $ cd libmaxminddb-1.3.2 $ ./configure && make && make install $ echo /usr/local/lib >> /etc/ld.so.conf.d/local.conf $ ldconfig 下载 geoip2 数据 $ git clone https://github.com/ar414-com/nginx-geoip2 $ cd nginx-geoip2 $ tar -zxvf GeoLite2-C
【文件预览】:
nginx-geoip2-master
----GeoLite2-Country_20200519.tar.gz(1.83MB)
----ngx_http_geoip2_module()
--------ngx_stream_geoip2_module.c(21KB)
--------ngx_http_geoip2_module.c(23KB)
--------LICENSE(1KB)
--------README.md(4KB)
--------config(1KB)
----README.md(1KB)
----tests()
--------Dockerfile(2KB)
--------html()
--------nginx.conf(3KB)
----GeoLite2-City_20200519.tar.gz(28.72MB)
----.gitattributes(28B)
----libmaxminddb-1.3.2.tar.gz(605KB)

网友评论