mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 23:31:26 +00:00
update doc
This commit is contained in:
parent
d7677bdf2d
commit
596717f29e
@ -158,11 +158,7 @@ Using https features
|
||||
#### step 2 - generate a rootCA and trust it
|
||||
* you should do this when it is the first time to start anyproxy
|
||||
* execute ``anyproxy --root`` ,follow the instructions on screen
|
||||
<<<<<<< HEAD
|
||||
* **[important!]you will see some tip like *rootCA generated at : /usr/lib...* . ``cd`` to that directory, add/trust the rootCA.crt file to your system keychain. In OSX, you may do that by open the *crt file directly**
|
||||
=======
|
||||
* [important!]you will see some tip like *rootCA generated at : /usr/lib...* . ``cd`` to that directory, add/trust the rootCA.crt file to your system keychain. In OSX, you may do that by open the *crt file directly
|
||||
>>>>>>> 3bd519b16572cb490e7df4956de7de3e06151101
|
||||
|
||||
#### step 3 - start a https proxy
|
||||
* ``anyproxy --type https --host my.domain.com``
|
||||
|
19
filter.sh
Executable file
19
filter.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
git filter-branch -f --env-filter '
|
||||
|
||||
OLD_EMAIL="5918760@gmail.com"
|
||||
CORRECT_NAME="想当当"
|
||||
CORRECT_EMAIL="donghua.yan@alipay.com"
|
||||
|
||||
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
|
||||
then
|
||||
export GIT_COMMITTER_NAME="$CORRECT_NAME"
|
||||
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL"
|
||||
fi
|
||||
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ]
|
||||
then
|
||||
export GIT_AUTHOR_NAME="$CORRECT_NAME"
|
||||
export GIT_AUTHOR_EMAIL="$CORRECT_EMAIL"
|
||||
fi
|
||||
' --tag-name-filter cat -- --branches --tags
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "anyproxy",
|
||||
"version": "2.2.0",
|
||||
"version": "2.2.1",
|
||||
"description": "a charles/fiddler like proxy written in NodeJs, which can handle HTTPS requests and CROS perfectly.",
|
||||
"main": "proxy.js",
|
||||
"bin": {
|
||||
@ -25,9 +25,7 @@
|
||||
"test": "nodeunit test.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/alipay-ct-wd/anyproxy"
|
||||
},
|
||||
"author": "alipay-sh-wd@list.alibaba-inc.com",
|
||||
"author": "ottomao@gmail.com",
|
||||
"license": "ISC"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user