diff --git a/docs/config/routing.md b/docs/config/routing.md index b0f42eec..387202f8 100644 --- a/docs/config/routing.md +++ b/docs/config/routing.md @@ -360,14 +360,14 @@ xxxxxxxx-xxxx-0000-xxxx-xxxxxxxxxxxx "tag": "round" } ] - } + }, "inbounds": [ { // 入站配置 "tag": "in" } - ] + ], "outbounds": [ { diff --git a/docs/config/transport.md b/docs/config/transport.md index 1392ba29..665d10e8 100644 --- a/docs/config/transport.md +++ b/docs/config/transport.md @@ -230,7 +230,7 @@ CipherSuites 用于配置受支持的密码套件列表, 每个套件名称之 > `pinnedPeerCertSha256`: string -用于指定远程服务器的证书 SHA256 散列值,使用 hex 且大小写不敏感。如 `e8e2d387fdbffeb38e9c9065cf30a97ee23c0e3d32ee6f78ffae40966befccc9`. 该编码与 Chrome 证书查看器 SHA-256 证书指纹,以及 crt.sh 的 Certificate Fingerprints SHA-256 格式均相同。也可以使用 `xray tls leafCertHash --cert ` 进行计算。可以使用 `-` 连接更多的散列值,匹配到任何一个即通过验证。 +用于指定远程服务器的证书 SHA256 散列值,使用 hex 且大小写不敏感。如 `e8e2d387fdbffeb38e9c9065cf30a97ee23c0e3d32ee6f78ffae40966befccc9`. 该编码与 Chrome 证书查看器 SHA-256 证书指纹,以及 crt.sh 的 Certificate Fingerprints SHA-256 格式均相同。也可以使用 `xray tls leafCertHash --cert ` 进行计算。可以使用 `~` 连接更多的散列值,匹配到任何一个即通过验证。 该验证在正常证书验证成功后才会调用,分为两种情况。 @@ -632,7 +632,7 @@ OCSP 装订更新间隔,单位为秒,默认值为 0. 任意非 0 值将启 "tcpcongestion": "bbr", "interface": "wg0", "V6Only": false, - "tcpWindowClamp": 600 + "tcpWindowClamp": 600, "tcpMptcp": false, "addressPortStrategy": "", "customSockopt": [] diff --git a/docs/document/level-2/redirect.md b/docs/document/level-2/redirect.md index 39a14965..1fb05ffa 100644 --- a/docs/document/level-2/redirect.md +++ b/docs/document/level-2/redirect.md @@ -138,7 +138,7 @@ lsmod | grep wireguard "settings": { "domainStrategy": "UseIPv6" } - } //设置fwmark为的用户走指定方式”UseIPv6””UseIPv4” + }, //设置fwmark为的用户走指定方式”UseIPv6””UseIPv4” // <--请在不同的方案中选择--> 方案2:sendThrough { "tag": "wg0", diff --git a/docs/en/config/outbounds/wireguard.md b/docs/en/config/outbounds/wireguard.md index 5039fde4..13511c22 100644 --- a/docs/en/config/outbounds/wireguard.md +++ b/docs/en/config/outbounds/wireguard.md @@ -25,7 +25,7 @@ Wireguard is a standard implementation of the Wireguard protocol. ], "mtu": 1420, // optional, default 1420 "reserved": [1, 2, 3], - "workers": 2 // optional, default runtime.NumCPU() + "workers": 2, // optional, default runtime.NumCPU() "domainStrategy": "ForceIP" } ``` diff --git a/docs/en/config/transport.md b/docs/en/config/transport.md index e57faa50..911d2678 100644 --- a/docs/en/config/transport.md +++ b/docs/en/config/transport.md @@ -104,7 +104,7 @@ Configures transparent proxies. { "serverName": "xray.com", "rejectUnknownSni": false, - "verifyPeerCertInNames": ["xray.com"] + "verifyPeerCertInNames": ["xray.com"], "allowInsecure": false, "alpn": ["h2", "http/1.1"], "minVersion": "1.2", diff --git a/docs/ru/config/routing.md b/docs/ru/config/routing.md index 7689cd9f..00cbd459 100644 --- a/docs/ru/config/routing.md +++ b/docs/ru/config/routing.md @@ -327,13 +327,13 @@ JSON-объект, где ключи и значения являются стр "tag": "round" } ] - } + }, "inbounds": [ { "tag": "in" } - ] + ], "outbounds": [ { diff --git a/docs/ru/document/level-2/redirect.md b/docs/ru/document/level-2/redirect.md index 940a4afe..df991055 100644 --- a/docs/ru/document/level-2/redirect.md +++ b/docs/ru/document/level-2/redirect.md @@ -137,7 +137,7 @@ lsmod | grep wireguard "settings": { "domainStrategy": "UseIPv6" } - } // Трафик с меткой fwmark, равной , будет направлен через UseIPv6/UseIPv4. + }, // Трафик с меткой fwmark, равной , будет направлен через UseIPv6/UseIPv4. // <--Выберите один из вариантов--> Вариант 2: sendThrough { "tag": "wg0",