二、Nginx 动态编译第三方模块 - 脚本
使用动态加载的第三方模块, 在 nginx/conf/nginx.conf 文件第一行添加: load_module "/usr/local/nginx/modules/ngx_http_concat_module.so";
1. nginx-http-concat-module
#!/bin/bash
#当前的时间
DATETIME="$(date +%Y_%m_%d_%H%M%S)"
#存储路径
STORE="/root"
#文件夹名称
DIR_NAME="nginx-http-concat-master"
#模块
MODULE_NAME="ngx_http_concat_module"
#Nginx 目录
NGINX_PATH&