mirror of
https://github.com/SunBK201/UA3F.git
synced 2025-12-16 16:57:08 +00:00
docs: update readme
This commit is contained in:
parent
394cfb330e
commit
37185e5af5
14
README.md
14
README.md
@ -57,19 +57,7 @@ UA3F 是一个 HTTP Header 重写工具,作为一个 HTTP、SOCKS5、TPROXY、
|
|||||||
|
|
||||||
UA3F 支持 LuCI Web 页面,可以打开 Services -> UA3F 进行相关配置。
|
UA3F 支持 LuCI Web 页面,可以打开 Services -> UA3F 进行相关配置。
|
||||||
|
|
||||||
具体使用教程详见:[猴子也能看懂的 UA3F 使用教程](https://sunbk201public.notion.site/UA3F-2a21f32cbb4b80669e04ec1f053d0333)
|
快速使用教程详见:[猴子也能看懂的 UA3F 使用教程](https://sunbk201public.notion.site/UA3F-2a21f32cbb4b80669e04ec1f053d0333)
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> 设置说明:
|
|
||||||
>
|
|
||||||
> - Server Mode (服务模式): 支持 `HTTP`、`SOCKS5`、`TPROXY`、`REDIRECT`、`NFQUEUE`,默认 `SOCKS5`
|
|
||||||
> - Port (监听端口): 默认 `1080`
|
|
||||||
> - Bind Address (绑定地址): 默认 `0.0.0.0`
|
|
||||||
> - Log Level (日志等级): 默认 `error`, 如果需要调试排查错误可以设置为 `debug`
|
|
||||||
> - Rewrite Mode (重写策略): 默认 `GLOBAL`, 支持 `GLOBAL`、`DIRECT`、`RULES`
|
|
||||||
> - User-Agent (自定义重写 User-Agent): 默认 `FFF`
|
|
||||||
> - User-Agent Regex (User-Agent 正则表达式): 只重写匹配成功的 User-Agent。如果为空,全部重写
|
|
||||||
> - Partial Replace (部分替换): 只替换正则表达式匹配的部分。该选项仅在 User-Agent 正则表达式非空时生效
|
|
||||||
|
|
||||||
设备与系统信息正则表达式参考:
|
设备与系统信息正则表达式参考:
|
||||||
|
|
||||||
|
|||||||
12
README_EN.md
12
README_EN.md
@ -59,18 +59,6 @@ UA3F supports LuCI Web interface. Navigate to Services -> UA3F for configuration
|
|||||||
|
|
||||||
For detailed tutorial, please visit: [UA3F User Guide](https://sunbk201public.notion.site/UA3F-2a21f32cbb4b80669e04ec1f053d0333)
|
For detailed tutorial, please visit: [UA3F User Guide](https://sunbk201public.notion.site/UA3F-2a21f32cbb4b80669e04ec1f053d0333)
|
||||||
|
|
||||||
> [!NOTE]
|
|
||||||
> Configuration Details:
|
|
||||||
>
|
|
||||||
> - **Server Mode**: Supports `HTTP`, `SOCKS5`, `TPROXY`, `REDIRECT`, `NFQUEUE`. Default: `SOCKS5`
|
|
||||||
> - **Port**: Default `1080`
|
|
||||||
> - **Bind Address**: Default `0.0.0.0`
|
|
||||||
> - **Log Level**: Default `error`. Set to `debug` for troubleshooting
|
|
||||||
> - **Rewrite Mode**: Default `GLOBAL`. Supports `GLOBAL`, `DIRECT`, `RULES`
|
|
||||||
> - **User-Agent**: Custom User-Agent for rewriting. Default: `FFF`
|
|
||||||
> - **User-Agent Regex**: Only rewrite User-Agents matching this regex. If empty, all User-Agents will be rewritten
|
|
||||||
> - **Partial Replace**: Only replace the matched portion of the regex. This option only takes effect when User-Agent regex is not empty
|
|
||||||
|
|
||||||
Device and system information regex reference:
|
Device and system information regex reference:
|
||||||
|
|
||||||
```regex
|
```regex
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user