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-http-concat模块

 

alias配置请看我上篇文章

测试成功,如图:

nginx 添加nginx-http-concat模块

 

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

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
  • 2021-07-12
  • 2021-09-15
  • 2021-10-02
  • 2021-08-22
  • 2022-01-10
猜你喜欢
  • 2021-11-16
  • 2021-12-14
  • 2021-11-12
  • 2022-02-13
相关资源
相似解决方案