-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown directive "subs_filter" #33
Comments
@JSlife23 静态编译还是用的动态编译?方便贴下 ./configure 参数么 |
configure arguments: --prefix=/usr/local/tengine --user=nginx --group=nginx --with-http_stub_status_module --with-http_ssl_module --with-http_gzip_static_module --with-http_sub_module --add-module=/usr/local/tengine/ngx_http_substitutions_filter_module |
@JSlife23 我用同样的参数,最新版本的 tengine 测试了下,没有能够复现你的问题,你再确认下使用的 bin 是否正确吧 |
@cuber 你说的bin是指?我的是centos7.2 。 可能是我描述的有点问题吧, 我是安装模块之前 nginx -t 检查语法的时候报的错。 |
@JSlife23 你 nginx -t 使用的可执行文件,和最后 make 出来的 objs 目录里的 nginx 文件你核对下是否一致 |
我把objs 下面的nginx 替换到了sbin/ 下面的nginx 了 执行nginx -t 还是报nginx: [emerg] unknown directive "subs_filter"的错误。 |
你重新编译后要,不单单要替换可执行文件,还要重启nginx进程,不要用reload,停掉再起 |
编译 之后报这个错 配置文件是这样写的。这个是什么问题?
The text was updated successfully, but these errors were encountered: