alexandereric995 / nodejs-proxy Goto Github PK
View Code? Open in Web Editor NEWThis project forked from pkrumins/nodejs-proxy
A HTTP proxy server written in node.js
Home Page: http://www.catonmat.net/http-proxy-in-nodejs
This project forked from pkrumins/nodejs-proxy
A HTTP proxy server written in node.js
Home Page: http://www.catonmat.net/http-proxy-in-nodejs
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.