RickyC
V2EX  ›  问与答

能否让 nginx 实现同一 ip 连续访问过多就弹出验证码?

  •  
  •   RickyC · Mar 9, 2021 · 2498 views
    This topic created in 1906 days ago, the information mentioned may be changed or developed.

    能否让 nginx 实现同一 ip 连续访问过多就弹出验证码?

    或者可以用什么来实现?

    5 replies    2021-03-09 13:36:11 +08:00
    UnknownSky
        1
    UnknownSky  
       Mar 9, 2021 via Android
    套个 cdn?Cf
    RickyC
        2
    RickyC  
    OP
       Mar 9, 2021
    @UnknownSky 谢谢。阿里云的 cdn 我没找到这个功能。
    cf 是什么?
    SJ2050cn
        3
    SJ2050cn  
       Mar 9, 2021   ❤️ 1
    可以使用 lua 配置 nginx 实现,参考一下这个 https://github.com/centos-bz/HttpGuard
    hxndg
        4
    hxndg  
       Mar 9, 2021
    redis 的 expire ? 5s 内访问就蹦验证码?
    zzzain46
        5
    zzzain46  
       Mar 9, 2021
    @RickyC cloudflare
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3561 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 74ms · UTC 04:56 · PVG 12:56 · LAX 21:56 · JFK 00:56
    ♥ Do have faith in what you're doing.