node.js-如何为Heroku Node.js Web应用程序配置Nginx
发布时间:2021-01-11 23:46:19 所属栏目:Nginx 来源:互联网
导读:如何为Heroku Node.js Web应用程序配置Nginx?我想将nginx配置为在给定的时间段内将IP地址限制为N个请求.就像在Reddit上看到的经典的“您做得太多”一样.谢谢,查尔斯最佳答案Here is a good starting point : heroku-nginx-node-exampleWhat you are looking
如何为Heroku Node.js Web应用程序配置Nginx?我想将nginx配置为在给定的时间段内将IP地址限制为N个请求.就像在Reddit上看到的经典的“您做得太多”一样. 谢谢, 查尔斯 最佳答案 Here is a good starting point : heroku-nginx-node-exampleWhat 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 如果您需要更多帮助,请显示到目前为止的尝试,我将编辑此答案. (编辑:岳阳站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 亚马逊网络服务-Aurelia,Docker,Nginx,AWS Elastic Beansta
- Laravel 5.3,使用api.example.com到example.com/api
- ruby-on-rails – 使用SSL在Nginx后面的Rails 5中的Invalid
- php – Nginx快速CGI缓存ON error_page 404
- ruby-on-rails – 搬到rbenv打破乘客(nginx)
- nginx – 正确的uWSGI进程数量?
- 在具有Nginx和Gunicorn的生产环境中,使用unix套接字或tcp绑
- 如何使用NGINX阻止洪水请求?
- Meteor,WebSocket,Nginx 502错误
- nginx – 如何在不解密的情况下路由HTTPS加密数据包?