cgi-proxy
v1.0.12
Published
A proxy app for speed dev, you can use local html/js/css/img and remote http interface, but no access control problem
Downloads
30
Readme
##1.show the config file path.
cgi-proxy -c
###Config options ####RSCGIPrefix Real server interface prefix, if entire interface is 'www.test.com/getmoney', prefix is 'www.test.com'
####RSCGIMethod No use, haha~~ I'll finish it soon
####extraCookie You can add cookie for origin http request. (exp : "skey=123123;haha=123123;") ####localResourceDir Local static resource dir, for your html/css/img... (exp : "/Applications/XAMPP/xamppfiles/htdocs/qqexpert/QQExpert") ####localListenPort Local node proxy server port. (exp : 2222) ####localListenRouter Local node proxy server router path, you can access proxy server by "localListenRouter" and "localListenPort"
exp:
"localListenPort" 2222
"localListenRouter" cgibin
Local node proxy cgi exp is '127.0.0.1:2222/cgibin/'+[interface name]
####specialProxy Special proxy interface list, you can appoint some interface's proxy rule, most interfaces proxy to real server, some interfaces can use other test server
exp:
"getmoney": "http://127.0.0.1:3333/getmoney"
##2.start service cgi-proxy -s
start cgi-proxy service, the proxy url info will show in console...though it's in chinese
##3.contact
####You can contact me by email, the address is [email protected] ####This tool is for my team to do our daily work.... So, some code is customized and uncompleted, give me any advice to help me finish this tool.