Skip to content
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

使用Tengine2.3.2版本,nginx -t 一直报nginx: [emerg] unknown directive "check" in /data/server/nginx/conf/nginx.conf:7 #1394

Closed
zhus2015 opened this issue Oct 24, 2019 · 3 comments
Assignees

Comments

@zhus2015
Copy link

zhus2015 commented Oct 24, 2019

使用Tengine2.3.2版本,nginx -t 一直报nginx: [emerg] unknown directive "check" in /data/server/nginx/conf/nginx.conf:66

安装方法是使用的官方的默认方法
image

image

@zhus2015 zhus2015 changed the title 使用Tengine2.3.2版本,nginx -t 一直报nginx: [emerg] unknown directive "check" in /data/server/nginx/conf/nginx.conf:66 使用Tengine2.3.2版本,nginx -t 一直报nginx: [emerg] unknown directive "check" in /data/server/nginx/conf/nginx.conf:7 Oct 24, 2019
@wangfakang
Copy link
Collaborator

@zhus2015 参考这个里面的注意事项 #1196

@zhus2015
Copy link
Author

非常感谢

@yxlwfds
Copy link

yxlwfds commented Mar 31, 2020

文档里说默认就有,结果还是要加参数, 说那么多干嘛 编译时直接加这个就可以 --add-module=./modules/ngx_http_upstream_check_module/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants