mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 15:51:25 +00:00
update readme
This commit is contained in:
parent
4d5d375dfe
commit
ce454e6ad4
15
README.md
15
README.md
@ -33,8 +33,6 @@ Feature
|
|||||||
* when working as https proxy, AnyProxy could intercept https requests for any domain without complaint by browser (after you trust its root CA)
|
* when working as https proxy, AnyProxy could intercept https requests for any domain without complaint by browser (after you trust its root CA)
|
||||||
* a web interface for you to watch realtime request details, where html with (almost) any charset could be shown correctly
|
* a web interface for you to watch realtime request details, where html with (almost) any charset could be shown correctly
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
Quick Start
|
Quick Start
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
@ -44,15 +42,20 @@ Quick Start
|
|||||||
* ``npm install -g anyproxy`` , may require ``sudo``
|
* ``npm install -g anyproxy`` , may require ``sudo``
|
||||||
* python is optional, it will be OK if you get some error about it during installing.
|
* python is optional, it will be OK if you get some error about it during installing.
|
||||||
|
|
||||||
### step 2 - start server
|
### step 2 - start proxy server
|
||||||
|
|
||||||
* start with default settings : ``anyproxy``
|
* start with default settings : ``anyproxy``
|
||||||
* start with a specific port: ``anyproxy --port 8001``
|
* ...or start with a specific port: ``anyproxy --port 8001``
|
||||||
* start with a rule file: ``anyproxy --rule ./rule_sample/rule_allow_CORS.js``
|
* ...start with a rule file: ``anyproxy --rule ./rule_sample/rule_allow_CORS.js``
|
||||||
|
|
||||||
### step 3 - launch web interface
|
### step 3 - launch web interface
|
||||||
|
|
||||||
* visit [http://127.0.0.1:8002](http://127.0.0.1:8002) with modern browsers
|
* visit [http://127.0.0.1:8002](http://127.0.0.1:8002) ,you will see realtime requests
|
||||||
|
* be sure to use web interface with modern browsers
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Rule module
|
Rule module
|
||||||
-------------------
|
-------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user