nginx: [emerg] unknown directive "sub_filter"

问题:Nginx 的内容替换功能,集成第三方的替换模块:ngx_http_substitutions_filter_module报错误:

nginx: [emerg] unknown directive "sub_filter"......

解决方案:确认配置参数包含以下两项:

--with-http_sub_module --add-module=/git/ngx_http_substitutions_filter_module/


版权声明:本文为u010413740原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。