cgi-proxy

1.0.12 • Public • Published

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 43189612@qq.com

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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.121latest

Version History

VersionDownloads (Last 7 Days)Published
1.0.121
1.0.110
1.0.101
1.0.91
1.0.81
1.0.71
1.0.63
1.0.50
1.0.40
1.0.31
1.0.20
1.0.10
1.0.01

Package Sidebar

Install

npm i cgi-proxy

Weekly Downloads

10

Version

1.0.12

License

ISC

Last publish

Collaborators

  • diablojj
  • doublewxx
  • grumoon