Skip to content

Commit

Permalink
added config.js and config dir and readme for config dir files
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrumins committed Jun 28, 2010
1 parent 4ab87a6 commit 2553ed9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
16 changes: 16 additions & 0 deletions config.js
@@ -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;

6 changes: 6 additions & 0 deletions config/readme.txt
@@ -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)

0 comments on commit 2553ed9

Please sign in to comment.