Thomas Mofan
Thomas Mofan
I would like to develop these features. Some of the features have already been implemented in the project I am working on. After the completion of the subsequent work, I...
You can use parser.WithSkipValidDirectivesErr to skip syntax checks, as in the following code snippet: parser.NewParser(filePath, parser.WithSkipValidDirectivesErr())
我的分支已经验证和修复该问题,可以查看: https://github.com/mofantor/nginx_upstream_check_module.git
我的分支有ng1.26补丁,可以查看: https://github.com/mofantor/nginx_upstream_check_module.git
1.26.3补丁适用于ng1.28的(已验证)。 至于windows版本,由于nginx官方定义为[测试版本](https://nginx.org/en/docs/windows.html]),不建议在windows上编译和使用,同时你提到的这个文章已经详细展示了解决方案,可以自己按照教程修改下 > > 我的分支有ng1.26补丁,可以查看: https://github.com/mofantor/nginx_upstream_check_module.git > > 大佬可以麻烦修复一下 windows 环境编译的代码吗,参考 https://blog.csdn.net/weixin_43969629/article/details/139345973 这个文档可以正常编译。另外想问一下大佬 ng1.28.0 已经发布了,使用 1.26.3 补丁可以完美运行吗?膜拜大佬
> > 我的分支有ng1.26补丁,可以查看: https://github.com/mofantor/nginx_upstream_check_module.git > > `upstream ups_www_ah_com { zone dns_zone 64k; resolver 10.6.4.17 valid=10s ipv6=off; server www.ah.com:8080 resolve; check interval=5000 rise=1 fall=3 timeout=1000 type=tcp; }` 我目前用nginx 1.28.0 ,打了[http://github.com/yaoweibin/nginx_upstream_check_module](https://github.com/yaoweibin/nginx_upstream_check_module) check_1.20.1+.patch...