星空网 > 软件开发 > Java

nginx 添加nginx

github地址:https://github.com/alibaba/nginx-http-concat/tree/master

简单的描述一下吧,网上说的安装新的模块需要重新编译nginx,具体的我没有试过,添加nginx模块

./configure --prefix=/myhome/nginx/nginx --add-module=../nginx-http-concat-master

然后make

make install

 

安装成功了之后,修改nginx.conf 如图:

nginx 添加nginx

 

alias配置请看我上篇文章

测试成功,如图:

nginx 添加nginx

 

总结:这只是使用了简单的测试案例,更多配置还需要查找concat配置。

 




原标题:nginx 添加nginx

关键词:nginx

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。
相关文章
我的浏览记录
最新相关资讯
海外公司注册 | 跨境电商服务平台 | 深圳旅行社 | 东南亚物流