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

2023-12-21 943 views
4

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

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

image

回答

3

非常感谢

0

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