几个名字要一致:
1.模块名字:
1) config文件中:
ngx_addon_name=ngx_sync_task
2) ngx_module_t ngx_sync_task;
2. 指令名
1) nginx.config文件中:
location /recv {
.......
}
2) ngx_command_t[] = {
{ngx_string("recv");
......
},
ngx_null_command
}
几个名字要一致:
1.模块名字:
1) config文件中:
ngx_addon_name=ngx_sync_task
2) ngx_module_t ngx_sync_task;
2. 指令名
1) nginx.config文件中:
location /recv {
.......
}
2) ngx_command_t[] = {
{ngx_string("recv");
......
},
ngx_null_command
}