mirror of
https://github.com/ADD-SP/ngx_waf.git
synced 2026-04-26 22:15:55 +03:00
[GH-ISSUE #115] 增加Cloudflare Turnstile 验证码支持 #85
Labels
No labels
MacOS
Nginx
OpenResty
Tengine
bug
documentation
enhancement
needs-investigation
pull-request
question
stale
stale
stale
timeout
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ngx_waf#85
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gitiy1 on GitHub (Nov 5, 2022).
Original GitHub issue: https://github.com/ADD-SP/ngx_waf/issues/115
Turnstile是cloudflare新推出的验证码服务, 无需视觉拼图即可确认访问者为真实人类,为网站访问者提供更好的体验
Website: https://www.cloudflare.com/zh-cn/products/turnstile/
@hibobmaster commented on GitHub (Nov 5, 2022):
其实目前是可以使用cloudflare turnstile的,
prov使用reCAPTCHAv2/reCAPTCHAv3https://docs.addesp.com/ngx_waf/advance/directive.html#waf-captcha
把里面的 api 填写为 https://challenges.cloudflare.com/turnstile/v0/siteverify
再把html模板里的脚本改为cf提供的配置即可,我测试下面的配置是okay的
参考: https://developers.cloudflare.com/turnstile/get-started/migrating-from-recaptcha/
captcha-v2-turnstile.html
captcha-v3-turnstile.html
@gitiy1 commented on GitHub (Nov 11, 2022):
十分感谢!希望项目越做越好!