ngx_http_ipdb_module
ngx_http_ipdb_module copied to clipboard
Another nginx http geoip module by ipdb
提示错误 `./ngx_http_ipdb_module-master//ipdb/ipdb.c In file included from ./ngx_http_ipdb_module-master//ipdb/ipdb.c:9: ./ngx_http_ipdb_module-master//ipdb/ipdb.h:60:44: error: unknown type name 'u_char' int ipdb_search(ipdb_reader *reader, const u_char *ip, int bit_count, int *node); ^~~~~~ ./ngx_http_ipdb_module-master//ipdb/ipdb.c:184:44: error: unknown type name 'u_char'...
使用的openresty 1.5.18,编译成功。 使用示例配置: ``` http { # ipip ipdb /usr/local/nginx/conf/mydata4vipweek2.ipdb; ipdb_language EN; ipdb_proxy 127.0.0.1; ipdb_proxy_recursive on; server { location /ip { return 200 "country_name:$ipdb_country_name, raw_info:$ipdb_raw"; } } } ``` 测试命令:...
如题,下的最新的2022.12.21 qqwry.ipdb文件大了很多,有15M多了,现在用这个插件识别不出来了,大佬能更新一下么