最佳答案
Here is a good starting point : heroku-nginx-node-example
@H_403_21@ 原文链接:https://www.f2er.com/nginx/532345.htmlWhat you are looking for is rate limiting with nginx,read this for a better understanding
and here you have an example gist : Nginx reverse proxy with rate limiting
This is the file of the heroku-nginx-node-example that I think you have to add the limit_req options
如果您需要更多帮助,请显示到目前为止的尝试,我将编辑此答案.