From 79ed172f446ddd4d479d224627fc0776ca4d46ea Mon Sep 17 00:00:00 2001 From: Fangliding Date: Wed, 14 Jan 2026 21:37:17 +0800 Subject: [PATCH] Hy2 to hy --- .vitepress/config.mts | 2 +- docs/config/outbounds/hysteria.md | 28 ++++++++++++++++++++++++++++ docs/config/outbounds/hysteria2.md | 23 ----------------------- docs/config/transports/hysteria.md | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) create mode 100644 docs/config/outbounds/hysteria.md delete mode 100644 docs/config/outbounds/hysteria2.md diff --git a/.vitepress/config.mts b/.vitepress/config.mts index 3dbb36eb..a75d89ae 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -189,7 +189,7 @@ export default defineConfig({ }, { text: "VMess", link: "/config/outbounds/vmess.md" }, { text: "Wireguard", link: "/config/outbounds/wireguard.md" }, - { text: "Hysteria2", link: "/config/outbounds/hysteria2.md" }, + { text: "Hysteria", link: "/config/outbounds/hysteria.md" }, ], }, { diff --git a/docs/config/outbounds/hysteria.md b/docs/config/outbounds/hysteria.md new file mode 100644 index 00000000..92e0b6ff --- /dev/null +++ b/docs/config/outbounds/hysteria.md @@ -0,0 +1,28 @@ +# Hysteria + +Hysteria 协议的客户端实现。 + +这个页面非常简单,因为 hysteria 协议实际上分为一个简单的代理控制协议和经过调优的 QUIC 底层传输,在 Xray 中代理协议和底层传输被拆分,更多内容(如 brutal)详见底层传输的 [hysteriaSettings](../transports/hysteria.md) + + +## OutboundConfigurationObject + +```json +{ + "version": 2, + "address": "192.168.108.1", + "port": 3128, +} +``` + +> `version`: number + +Hysteria 版本,必须位 2。 + +> `address`: string + +Hysteria 代理服务器地址,必填。 + +> `port`: int + +Hysteria 代理服务器端口,必填。 \ No newline at end of file diff --git a/docs/config/outbounds/hysteria2.md b/docs/config/outbounds/hysteria2.md deleted file mode 100644 index 1b7d750a..00000000 --- a/docs/config/outbounds/hysteria2.md +++ /dev/null @@ -1,23 +0,0 @@ -# Hysteria2 - -Hysteria2 协议的客户端实现。 - -这个页面非常简单,因为 hysteria2 协议实际上分为一个简单的代理控制协议和经过调优的 QUIC 底层传输,在 Xray 中代理协议和底层传输被拆分,更多内容(如 brutal)详见底层传输的 [hysteriaSettings](../transports/hysteria.md) - - -## OutboundConfigurationObject - -```json -{ - "address": "192.168.108.1", - "port": 3128, -} -``` - -> `address`: string - -Hysteria2 代理服务器地址,必填。 - -> `port`: int - -Hysteria2 代理服务器端口,必填。 \ No newline at end of file diff --git a/docs/config/transports/hysteria.md b/docs/config/transports/hysteria.md index ab03bf41..93e5836f 100644 --- a/docs/config/transports/hysteria.md +++ b/docs/config/transports/hysteria.md @@ -28,7 +28,7 @@ Hysteria2 的底层 QUIC 传输的 Xray 实现,通常需要搭配 [hysteria2 > `version`: number -Hysteria 版本,必须位 2。 +Hysteria 版本,必须为 2。 > `auth`: string