add nginx module support
This commit is contained in:
parent
208a3baab6
commit
3f4f8a4051
|
|
@ -0,0 +1,3 @@
|
|||
# 说明
|
||||
|
||||
- 编译本模块时,请手动链接对../c/ip2region.c文件的依赖。
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../../binding/c/ip2region.h"
|
||||
#include "../c/ip2region.h"
|
||||
|
||||
typedef struct ngx_ip2region_conf_s {
|
||||
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