【文件属性】:
文件名称:ngx_http_cppjieba_module:CppJieba 的 Nginx 扩展模块
文件大小:2.05MB
文件格式:ZIP
更新时间:2021-07-07 12:23:38
C++
ngx_http_cppjieba_module
简介
的 Nginx 扩展模块。
需要了解源码的可以参看 。
支持Docker
docker pull docker.cn/yanyiwu/nginx_cppjieba_server
用法
安装和配置
以下用法假设 ngx_http_cppjieba_module 下载后存放的地址是 /tmp/ngx_http_cppjieba_module (这个地址在 Nginx 编译时和词典加载时候会用到)
下载源码:
git clone git://github.com/aszxqw/ngx_http_cppjieba_module.git /tmp/ngx_http_cppjieba_module
进入 Nginx 源码目录:
./configure --add-module=/tmp/ngx_http_cppjieba_module/src
【文件预览】:
ngx_http_cppjieba_module-master
----dict()
--------jieba.dict.utf8(4.84MB)
--------user.dict.utf8(23B)
--------hmm_model.utf8(508KB)
----src()
--------config(171B)
--------ngx_http_cppjieba_module.cpp(10KB)
--------CppJieba()
----LICENSE(1KB)
----README.md(2KB)
----ChangeLog.md(62B)