diff --git a/readme-cn.md b/readme-cn.md index 616b0e1..1b56d1f 100644 --- a/readme-cn.md +++ b/readme-cn.md @@ -112,6 +112,9 @@ overtls -r client -c config.json 注意 `tunnel_path` 配置項,請務必改成你自己獨有的複雜字符串,否則 `GFW` 立馬拿你祭旗。 +> `tuunel_path` 選項現在可以是字符串或字符串數組,如 `["/secret-tunnel-path/", "/another-secret-tunnel-path/"]`。 +> Overtls 客戶端將選擇第一個使用。在服務端,它將用整個字符串數組来检查傳入請求. + > 爲方便測試,提供了 `disable_tls` 選項以具備停用 `TLS` 的能力;就是說,若該項存在且爲 `true` 時,本軟件將 `明文(plain text)` 傳輸流量;出於安全考慮,正式場合請勿使用。 本示例展示的是最少條目的配置文件,完整的配置文件可以參考 [config.json](config.json)。 diff --git a/readme.md b/readme.md index cf0e050..f1c6527 100644 --- a/readme.md +++ b/readme.md @@ -129,6 +129,10 @@ The `certfile` and `keyfile` are optional, and the software will become `https` Note the `tunnel_path` configuration, please make sure to change it to your own unique complex string, otherwise `GFW` will block you immediately. +> The `tunnel_path` option now can be a string or an array of strings, like `["/secret-tunnel-path/", "/another-secret-tunnel-path/"]`. +> Overtls client side will select the first one to use. +> In the server side, it will check the incoming request with the entire array of strings. + > For testing purposes, the `disable_tls` option is provided to have the ability to disable `TLS`; that is, if this option exists and is true, the software will transmit traffic in `plain text`; for security reasons, please do not use it on official occasions. This example shows the configuration file of the least entry, the complete configuration file can refer to [config.json](config.json).