RickyC
V2EX  ›  问与答

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

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

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

    或者可以用什么来实现?

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