add nginx module support
This commit is contained in:
parent
f11b8096e3
commit
5c1394a4f5
|
|
@ -0,0 +1,3 @@
|
||||||
|
# 说明
|
||||||
|
|
||||||
|
- 编译本模块时,请手动链接对../c/ip2region.c文件的依赖。
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "../../binding/c/ip2region.h"
|
#include "../c/ip2region.h"
|
||||||
|
|
||||||
typedef struct ngx_ip2region_conf_s {
|
typedef struct ngx_ip2region_conf_s {
|
||||||
ngx_str_t db_file;
|
ngx_str_t db_file;
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
#说明
|
|
||||||
|
|
||||||
- 本模块依赖[ip2region](https://github.com/lionsoul2014/ip2region/tree/master/binding/c)项目,需要手动下载ip2region.c 和 ip2region.h文件后进行编译
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue