|
2 | 2 |
|
3 | 3 | [README](README.md) | [中文文档](README_zh.md) |
4 | 4 |
|
5 | | -SCFProxy is a tool that implements multiple proxies based on cloud functions and API gateway functions provided by cloud |
6 | | -providers. |
| 5 | +SCFProxy is a tool to implement HTTP proxy, SOCKS proxy, and reverse proxy based on cloud function and API gateway |
| 6 | +provided by several cloud service providers. |
7 | 7 |
|
8 | 8 | # Installation |
9 | 9 |
|
@@ -81,15 +81,15 @@ and then filling the corresponding role ARN into the ` sdk.toml` file. |
81 | 81 |
|
82 | 82 | ## Query |
83 | 83 |
|
84 | | -The `scfproxy list` accepts five arguments `provider`, `region`, `http`, `socks`, `reverse`. |
| 84 | +The `scfproxy list` accepts the following five parameters. |
85 | 85 |
|
86 | | -The `provider` parameter lists the currently supported cloud providers and can be filtered by |
87 | | -the `-m [http|socks|reverse]` parameter to find the providers that support a certain proxy. |
88 | | - |
89 | | -The `region` argument is used to list the regions where the cloud provider can be deployed, and the `-p providers` |
90 | | -parameter is used to specify the cloud provider |
91 | | - |
92 | | -The `http`, `socks`, `reverse` arguments are used to list the currently deployed proxies |
| 86 | +* `provider` lists currently supported cloud providers and can be filtered by the `-m [http|socks|reverse]` parameter to |
| 87 | + find the providers that support a certain proxy. |
| 88 | +* `region` list regions where cloud provider can be deployed, and the `-p providers` parameter is used to specify the |
| 89 | + cloud provider |
| 90 | +* `http` Lists deployed HTTP proxies |
| 91 | +* `socks` Lists deployed SOCKS proxies |
| 92 | +* `reverse` List deployed reverse proxies |
93 | 93 |
|
94 | 94 | ## HTTP proxy |
95 | 95 |
|
@@ -144,6 +144,10 @@ equivalent to `0.0.0.0:port` |
144 | 144 | Running HTTP proxy will load the records in `~/.config/scfproxy/http.json`, and if there are multiple deployed cloud |
145 | 145 | functions (regardless of provider), each HTTP request will randomly pick one of them to proxy. |
146 | 146 |
|
| 147 | +#### Use effect |
| 148 | + |
| 149 | + |
| 150 | + |
147 | 151 | ### Clear |
148 | 152 |
|
149 | 153 | ```console |
@@ -186,7 +190,7 @@ randomly pick one of the connections from the cloud function to proxy. |
186 | 190 | > The current timeout for socks proxy functions is 15m, so if you use socks proxy for a long connection such as mysql |
187 | 191 | > connection, you need to schedule it by yourself to avoid accidental connection disconnection when the time is up. |
188 | 192 |
|
189 | | -### Usage effect |
| 193 | +#### Use effect |
190 | 194 |
|
191 | 195 | **Long connections** |
192 | 196 |
|
|
0 commit comments