0
我已經成功地使用NGINX的ngx_http_geoip_module
用的MaxMind的IP數據庫與.dat
擴展:NGINX ngx_http_geoip_module,爲的MaxMind .DAT和.mmdb IP數據庫的支持
http { geoip_country GeoIP.dat; geoip_city GeoLiteCity.dat; geoip_proxy 192.168.100.0/24; geoip_proxy 2001:0db8::/32; geoip_proxy_recursive on;
然而,.dat
是傳統格式。 MaxMind現在以.mmdb
二進制格式分發IP數據庫。
NGINX ngx_http_geoip_module
支持.mmdb
格式與.dat
相同嗎?