项目
在 GitHub 查看
pkrumins/nodejs-proxy
关于
使用 Node.js 编写的 HTTP 代理服务器。
系统与基础设施实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Nodejs-proxy is a simple HTTP reverse proxy server written in node.js. It currently allows some mid-complexity to handle the reverse proxy magic take place. Nodejs-proxy was written by Peteris Krumins ([email protected]). His blog is at http://www.catonmat.net -- good coders code, great reuse. ------------------------------------------------------------------------------ You'll need node.js to run it. Get it at www.nodejs.org, then compile and install it: $ ./configure $ make $ make install Next, run proxy.js through node program: $ node proxy.js And that's it! I have also added ip-based access control. As long as no ip is explicitly denied, all will be allowed. If you need a specic access list just echo it to 'allow_ip_list' file: $ echo '1.2.3.4' >> config/allow_ip_list And you don't need to restart the server, it will see the changes and update itself. You can also block hosts based on a regex pattern, to do that, echo the hosts you don't wish the proxy to serve to 'black_list' file: $ echo 'facebook.com' >> config/black_list More features coming later! ------------------------------------------------------------------------------ Happy proxying! Sincerely, Peteris Krumins http://www.catonmat.net
探索相关项目
加载中…