Proxy uses rc for config. For example, you can put the .proxyrc config file to a top level folder:

{

"port":2803,

"prod":{

"port":80,

"host":"localhost"

},

"dev":{

"port":81,

"host":"localhost"

}

}

It will open the proxy on 2803 port, will forward all input traffic to a production localhost:80 server and to a development server localhost:81, all output traffic will be forwarded from the production server localhost:80, and all output tfaffic from the delepment server localhost:81 will be dropped.