openresty / lua-resty-limit-traffic

Lua library for limiting and controlling traffic in OpenResty/ngx_lua
819 stars 150 forks source link

Limiting Website #52

Open trapX-hash opened 5 years ago

trapX-hash commented 5 years ago

Hello, I'm new with OpenResty, I only installed it and I don't even know how to use lua or if it comes already compiled with openresty. Anyway I would like to know if there is a way to limit a website traffic with lua, I mean if a website reach x connections, then something happens (to the whole website not only to that connections, im not saying rate-limt) I actually tried this: https://github.com/openresty/lua-resty-limit-traffic but seems like it doesn't limit maybe im missing something compiling the source or I need to add something?

Thanks for your help!