nginx 添加nginx-http-concat模块

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 如图:

alias配置请看我上篇文章

测试成功,如图:

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

原文地址:https://www.cnblogs.com/ppli/p/5730301.html