I have a situation: opening an endpoint under location: /api/info uses a
lot
of resources. If ~20 people open it, the service goes down. For a
several
months it is impossible to improve ‘info’ to not kill the servce, so I
have
to “repair” it in other way.
It would be perfect if in nginx could limit connections to ~10
requests/seconf, from all IP to this specific endpoint. Is it possible?
On Thursday 17 July 2014 05:34:19 vocativus wrote:
Hello,
I have a situation: opening an endpoint under location: /api/info uses a lot
of resources. If ~20 people open it, the service goes down. For a several
months it is impossible to improve ‘info’ to not kill the servce, so I have
to “repair” it in other way.
It would be perfect if in nginx could limit connections to ~10
requests/seconf, from all IP to this specific endpoint. Is it possible?