Articles under the label of nginx 输出过滤

nginx

#如果上游用giz压缩,需要以下配置,否则subs_filter会失效替换不到 proxy_set_header Accept-Encoding ""; proxy_pass http://192.168.0.3; #subs_filter字符替换 subs_filter 'jingjia.aaa.cn' 'zt.bbb.cn/jingjia'; #subs_filter正则替换 subs_filter "show\_(.+?)\.html" "$1" gir; 早前写过一次 lua改写nginx querystring参数内容...

- Read More -
This is just a placeholder img.