diff --git a/docs/en/install/README.md b/docs/en/install/README.md index 81afb6599..c6aa7420c 100644 --- a/docs/en/install/README.md +++ b/docs/en/install/README.md @@ -351,7 +351,7 @@ RSSHub supports two caching methods: memory and redis Partial routes have a strict anti-crawler policy, and can be configured to use proxy -`PROXY_PROTOCOL`: Using proxy, Supports socks, http, https +`PROXY_PROTOCOL`: Using proxy, Supports socks, socks5, socks5h, http, https, etc. See [socks-proxy-agent](https://www.npmjs.com/package/socks-proxy-agent) NPM package page and [source](https://github.com/TooTallNate/node-socks-proxy-agent/blob/master/src/agent.ts) for what these protocols mean. See also [cURL OOTW: SOCKS5](https://daniel.haxx.se/blog/2020/05/26/curl-ootw-socks5/) for reference. `PROXY_HOST`: host or IP of the proxy diff --git a/docs/install/README.md b/docs/install/README.md index e42db68ee..0968d0b67 100644 --- a/docs/install/README.md +++ b/docs/install/README.md @@ -359,7 +359,7 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 #### 代理 URI -`PROXY_URI`: 代理 URI,支持 socks4, socks5, http, https +`PROXY_URI`: 代理 URI,支持 socks4, socks5(本地查询域名的 SOCKS5,不推荐使用), socks5h(传域名的 SOCKS5,推荐使用,以防止 DNS 污染或 DNS 泄露), http, https,具体以[socks-proxy-agent](https://www.npmjs.com/package/socks-proxy-agent) NPM 包的支持为准,也可参考[curl 中 SOCKS 代理协议的用法](https://daniel.haxx.se/blog/2020/05/26/curl-ootw-socks5/)。 > 代理 URI 的格式为: > @@ -369,8 +369,8 @@ RSSHub 支持 `memory` 和 `redis` 两种缓存方式 > 一些示例: > > - `socks4://127.0.0.1:1080` -> - `socks5://user:pass@127.0.0.1:1080` (用户名为 `user`, 密码为 `pass`) -> - `socks://127.0.0.1:1080` (protocol 为 socks 时表示 `socks5`) +> - `socks5h://user:pass@127.0.0.1:1080` (用户名为 `user`, 密码为 `pass`) +> - `socks://127.0.0.1:1080` (protocol 为 socks 时表示 `socks5h`) > - `http://127.0.0.1:8080` > - `http://user:pass@127.0.0.1:8080` > - `https://127.0.0.1:8443`