L67

Nginx CONTENT阶段 concat模块 随笔 第1张

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

Nginx CONTENT阶段 concat模块 随笔 第2张

concat_delimiter : 根据js 指定 分隔符 比如 “|” 那么每个文件分隔符为 “|”

concat_types : 指定要合并文件的类型

concat_unique : 

server {
    server_name concat.taohui.tech;

    error_log logs/myerror.log debug;
    concat on;
    root html;
    
        location /concat {
        concat_max_files 20;
        concat_types text/plain;
        concat_unique on;
        concat_delimiter ':::';
        concat_ignore_file_error on;
        }

}

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄