Gateway fully confined flow #13234
Answered
by
chobits
liukaiyuliukaiyu
asked this question in
Help
-
kong gateway, how to implement the full flow restriction policy when some traffic exceeds the cluster capacity, such as by request IP, by UA, etc |
Beta Was this translation helpful? Give feedback.
Answered by
chobits
Jul 2, 2024
Replies: 1 comment 3 replies
-
Hey @liukaiyuliukaiyu, you can use a combination of rate limiting and IP restriction plugins. This ensures that requests exceeding specified limits are restricted based on different criteria such as request IP, user-agent and more. Check our plugin hub for documentation and examples. https://docs.konghq.com/hub/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The ngx_http_limit_conn_module module is used to limit the number of connections per the defined key. As I know, there is no plugin that fullfills this requirement in Kong, so I think a good way to implement it is to add nginx directive into kong, see this doc