nginx增加新模块

问答中心分类: Nginxnginx增加新模块
下一个天亮 asked 5 年 ago
你好,我在用的过程中想增加新模块。也看了之前的回复。https://oneinstack.com/question/17948/
但是,还是没明白怎么增加。
我参考 Nginx_Modules_Options=’–add-module=/usr/local/nginx-rtmp-module-master’
设置FastDFS模块为nginx_modules_options='-–add-module=/usr/local/fastdfs-nginx-module-1.20/src'
但是报错,提示错误的选项。
./configure: error: invalid option "-–add-module=/usr/local/fastdfs-nginx-module-1.20/src"
make: *** No targets specified and no makefile found. Stop.
Nginx install failed, Please Contact the author!
 
还望作者,帮我看看具体问题,谢谢。

1 Answers

Best Answer

下一个天亮 answered 5 年 ago
nginx_modules_options='--add-module=/data/one/fastdfs-nginx-module-1.20/src'  问题已经解决,