mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-08-04 21:39:04 +00:00
Updated HTTPS相关教程 (markdown)
@@ -35,8 +35,11 @@ AnyProxy解析HTTPS的原理是自制根证书(rootCA),待终端信任这
|
||||
|
||||

|
||||
|
||||
#### 进阶使用:用rule来处理https请求(如:代理文件到本地)
|
||||
|
||||
* AnyProxy默认不会解析https请求,你需要引入``shouldInterceptHttpsReq ``这个函数来显式指定解析哪个请求。具体可以参照这份sample : [rule_intercept_some_https_requests.js](https://github.com/alibaba/anyproxy/blob/master/rule_sample/rule_intercept_some_https_requests.js)
|
||||
|
||||
#### 其他
|
||||
|
||||
* ``anyproxy --clear``可以清除所有已生成的证书。清除后,各终端需要重新安装证书。
|
||||
* 日常开发中,**不要使用**``anyproxy --type https``来调试。AnyProxy使用https over http的方法来进行代理,而这条命令启动的是一个https代理服务器,两者使用场景完全不同。
|
||||
|
||||
|
||||
Reference in New Issue
Block a user