mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 16:01:26 +00:00
allow user to assign their own web gui port
This commit is contained in:
parent
93634cedff
commit
e98295379b
@ -1,3 +1,7 @@
|
|||||||
|
20 Apr 2015: anyproxy 3.3.1:
|
||||||
|
|
||||||
|
* now you can assign your own port for web gui
|
||||||
|
|
||||||
31 Mar 2015: anyproxy 3.3.0:
|
31 Mar 2015: anyproxy 3.3.0:
|
||||||
|
|
||||||
* optimize https features in windows
|
* optimize https features in windows
|
||||||
|
2
bin.js
2
bin.js
@ -13,6 +13,7 @@ program
|
|||||||
.option('-u, --host [value]', 'hostname for https proxy, localhost for default')
|
.option('-u, --host [value]', 'hostname for https proxy, localhost for default')
|
||||||
.option('-t, --type [value]', 'http|https, http for default')
|
.option('-t, --type [value]', 'http|https, http for default')
|
||||||
.option('-p, --port [value]', 'proxy port, 8001 for default')
|
.option('-p, --port [value]', 'proxy port, 8001 for default')
|
||||||
|
.option('-w, --web [value]' , 'web GUI port, 8002 for default')
|
||||||
.option('-f, --file [value]', 'save request data to a specified file, will use in-memory db if not specified')
|
.option('-f, --file [value]', 'save request data to a specified file, will use in-memory db if not specified')
|
||||||
.option('-r, --rule [value]', 'path for rule file,')
|
.option('-r, --rule [value]', 'path for rule file,')
|
||||||
.option('-g, --root [value]', 'generate root CA')
|
.option('-g, --root [value]', 'generate root CA')
|
||||||
@ -72,6 +73,7 @@ if(program.clear){
|
|||||||
hostname : program.host,
|
hostname : program.host,
|
||||||
dbFile : program.file,
|
dbFile : program.file,
|
||||||
throttle : program.throttle,
|
throttle : program.throttle,
|
||||||
|
webPort : program.web,
|
||||||
rule : ruleModule,
|
rule : ruleModule,
|
||||||
disableWebInterface : false,
|
disableWebInterface : false,
|
||||||
interceptHttps : program.intercept,
|
interceptHttps : program.intercept,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "anyproxy",
|
"name": "anyproxy",
|
||||||
"version": "3.3.0",
|
"version": "3.3.1",
|
||||||
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
|
||||||
"main": "proxy.js",
|
"main": "proxy.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user