mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-22 22:38:05 +03:00
Fix all json comma typo
and tls typo
This commit is contained in:
@@ -360,14 +360,14 @@ xxxxxxxx-xxxx-0000-xxxx-xxxxxxxxxxxx
|
|||||||
"tag": "round"
|
"tag": "round"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
// 入站配置
|
// 入站配置
|
||||||
"tag": "in"
|
"tag": "in"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -230,7 +230,7 @@ CipherSuites 用于配置受支持的密码套件列表, 每个套件名称之
|
|||||||
|
|
||||||
> `pinnedPeerCertSha256`: string
|
> `pinnedPeerCertSha256`: string
|
||||||
|
|
||||||
用于指定远程服务器的证书 SHA256 散列值,使用 hex 且大小写不敏感。如 `e8e2d387fdbffeb38e9c9065cf30a97ee23c0e3d32ee6f78ffae40966befccc9`. 该编码与 Chrome 证书查看器 SHA-256 证书指纹,以及 crt.sh 的 Certificate Fingerprints SHA-256 格式均相同。也可以使用 `xray tls leafCertHash --cert <cert.pem>` 进行计算。可以使用 `-` 连接更多的散列值,匹配到任何一个即通过验证。
|
用于指定远程服务器的证书 SHA256 散列值,使用 hex 且大小写不敏感。如 `e8e2d387fdbffeb38e9c9065cf30a97ee23c0e3d32ee6f78ffae40966befccc9`. 该编码与 Chrome 证书查看器 SHA-256 证书指纹,以及 crt.sh 的 Certificate Fingerprints SHA-256 格式均相同。也可以使用 `xray tls leafCertHash --cert <cert.pem>` 进行计算。可以使用 `~` 连接更多的散列值,匹配到任何一个即通过验证。
|
||||||
|
|
||||||
该验证在正常证书验证成功后才会调用,分为两种情况。
|
该验证在正常证书验证成功后才会调用,分为两种情况。
|
||||||
|
|
||||||
@@ -632,7 +632,7 @@ OCSP 装订更新间隔,单位为秒,默认值为 0. 任意非 0 值将启
|
|||||||
"tcpcongestion": "bbr",
|
"tcpcongestion": "bbr",
|
||||||
"interface": "wg0",
|
"interface": "wg0",
|
||||||
"V6Only": false,
|
"V6Only": false,
|
||||||
"tcpWindowClamp": 600
|
"tcpWindowClamp": 600,
|
||||||
"tcpMptcp": false,
|
"tcpMptcp": false,
|
||||||
"addressPortStrategy": "",
|
"addressPortStrategy": "",
|
||||||
"customSockopt": []
|
"customSockopt": []
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ lsmod | grep wireguard
|
|||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "UseIPv6"
|
"domainStrategy": "UseIPv6"
|
||||||
}
|
}
|
||||||
} //设置fwmark为<mark>的用户走指定方式”UseIPv6””UseIPv4”
|
}, //设置fwmark为<mark>的用户走指定方式”UseIPv6””UseIPv4”
|
||||||
// <--请在不同的方案中选择--> 方案2:sendThrough
|
// <--请在不同的方案中选择--> 方案2:sendThrough
|
||||||
{
|
{
|
||||||
"tag": "wg0",
|
"tag": "wg0",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ Wireguard is a standard implementation of the Wireguard protocol.
|
|||||||
],
|
],
|
||||||
"mtu": 1420, // optional, default 1420
|
"mtu": 1420, // optional, default 1420
|
||||||
"reserved": [1, 2, 3],
|
"reserved": [1, 2, 3],
|
||||||
"workers": 2 // optional, default runtime.NumCPU()
|
"workers": 2, // optional, default runtime.NumCPU()
|
||||||
"domainStrategy": "ForceIP"
|
"domainStrategy": "ForceIP"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ Configures transparent proxies.
|
|||||||
{
|
{
|
||||||
"serverName": "xray.com",
|
"serverName": "xray.com",
|
||||||
"rejectUnknownSni": false,
|
"rejectUnknownSni": false,
|
||||||
"verifyPeerCertInNames": ["xray.com"]
|
"verifyPeerCertInNames": ["xray.com"],
|
||||||
"allowInsecure": false,
|
"allowInsecure": false,
|
||||||
"alpn": ["h2", "http/1.1"],
|
"alpn": ["h2", "http/1.1"],
|
||||||
"minVersion": "1.2",
|
"minVersion": "1.2",
|
||||||
|
|||||||
@@ -327,13 +327,13 @@ JSON-объект, где ключи и значения являются стр
|
|||||||
"tag": "round"
|
"tag": "round"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
"tag": "in"
|
"tag": "in"
|
||||||
}
|
}
|
||||||
]
|
],
|
||||||
|
|
||||||
"outbounds": [
|
"outbounds": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ lsmod | grep wireguard
|
|||||||
"settings": {
|
"settings": {
|
||||||
"domainStrategy": "UseIPv6"
|
"domainStrategy": "UseIPv6"
|
||||||
}
|
}
|
||||||
} // Трафик с меткой fwmark, равной <mark>, будет направлен через UseIPv6/UseIPv4.
|
}, // Трафик с меткой fwmark, равной <mark>, будет направлен через UseIPv6/UseIPv4.
|
||||||
// <--Выберите один из вариантов--> Вариант 2: sendThrough
|
// <--Выберите один из вариантов--> Вариант 2: sendThrough
|
||||||
{
|
{
|
||||||
"tag": "wg0",
|
"tag": "wg0",
|
||||||
|
|||||||
Reference in New Issue
Block a user