摘要: nginx的ngx_http_sub_module模块,可以用于修改网站响应内容中的字符串,如过滤敏感词。默认情况下,nginx并未安装该模块,因此编译时需加上--with-http_sub_module 参数。第三方模块ngx_http_substitutions_filter_module,弥补了ngx_http_sub_module的不足,可以采用正则表达式替换。 阅读全文
posted @ 2018-02-05 15:11 zhang90030 阅读(11906) 评论(0) 推荐(0) 编辑