forked from pkrumins/nodejs-proxy
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added config.js and config dir and readme for config dir files
- Loading branch information
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
** Peteris Krumins (peter@catonmat.net) | ||
** http://www.catonmat.net -- good coders code, great reuse | ||
** | ||
** A simple proxy server written in node.js. | ||
** | ||
*/ | ||
|
||
var config = { | ||
allow_ip_list: './config/allow_ip_list', | ||
black_list: './config/black_list', | ||
proxy_port: 8080 | ||
}; | ||
|
||
exports.config = config; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
this dir contains config files for nodejs-proxy. | ||
they include: | ||
|
||
* allow_ip_list - a file that contains allowed ips | ||
* black_list - a file that contains blocked urls (can be regexes) | ||
|