ADD-SP / ngx_waf

Handy, High performance, ModSecurity compatible Nginx firewall module & 方便、高性能、兼容 ModSecurity 的 Nginx 防火墙模块
https://add-sp.github.io/ngx_waf-docs/
BSD 3-Clause "New" or "Revised" License
1.49k stars 187 forks source link

The expire filed in waf_captcha doesn't work. #137

Closed Bit-Warrior-X closed 8 months ago

Bit-Warrior-X commented 8 months ago

Hi, therre

Thank you for your wonderful waf module. I am just analyzing and trying to use your module in my web server. Druing that course, I met a simple problem which expiredoesn't work in waf_captcha directive.

So I analyzed the code related to that value. image I found that the value is set to 30 mins as default.

But I couldn't find the code part which uses this value. image

Who have any ideas or solved this issue, please help me. Thanks again.