mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 03:51:31 +00:00
Fix documentation
This commit is contained in:
parent
45852ca3e7
commit
c88af8b081
|
@ -10,7 +10,8 @@
|
||||||
"users": [
|
"users": [
|
||||||
{
|
{
|
||||||
"name": "sekai",
|
"name": "sekai",
|
||||||
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661"
|
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
|
||||||
|
"flow": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tls": {},
|
"tls": {},
|
||||||
|
@ -30,6 +31,20 @@ See [Listen Fields](/configuration/shared/listen) for details.
|
||||||
|
|
||||||
VLESS users.
|
VLESS users.
|
||||||
|
|
||||||
|
#### users.uuid
|
||||||
|
|
||||||
|
==Required==
|
||||||
|
|
||||||
|
VLESS user id.
|
||||||
|
|
||||||
|
#### users.flow
|
||||||
|
|
||||||
|
VLESS Sub-protocol.
|
||||||
|
|
||||||
|
Available values:
|
||||||
|
|
||||||
|
* `xtls-rprx-vision`
|
||||||
|
|
||||||
#### tls
|
#### tls
|
||||||
|
|
||||||
TLS configuration, see [TLS](/configuration/shared/tls/#inbound).
|
TLS configuration, see [TLS](/configuration/shared/tls/#inbound).
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
"users": [
|
"users": [
|
||||||
{
|
{
|
||||||
"name": "sekai",
|
"name": "sekai",
|
||||||
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661"
|
"uuid": "bf000d23-0752-40b4-affe-68f7707a9661",
|
||||||
|
"flow": ""
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tls": {},
|
"tls": {},
|
||||||
|
@ -30,6 +31,20 @@
|
||||||
|
|
||||||
VLESS 用户。
|
VLESS 用户。
|
||||||
|
|
||||||
|
#### users.uuid
|
||||||
|
|
||||||
|
==必填==
|
||||||
|
|
||||||
|
VLESS 用户 ID。
|
||||||
|
|
||||||
|
#### users.flow
|
||||||
|
|
||||||
|
VLESS 子协议。
|
||||||
|
|
||||||
|
可用值:
|
||||||
|
|
||||||
|
* `xtls-rprx-vision`
|
||||||
|
|
||||||
#### tls
|
#### tls
|
||||||
|
|
||||||
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#inbound)。
|
TLS 配置, 参阅 [TLS](/zh/configuration/shared/tls/#inbound)。
|
||||||
|
|
|
@ -36,7 +36,7 @@ The server port.
|
||||||
|
|
||||||
==Required==
|
==Required==
|
||||||
|
|
||||||
The VLESS user id.
|
VLESS user id.
|
||||||
|
|
||||||
#### flow
|
#### flow
|
||||||
|
|
||||||
|
|
|
@ -53,7 +53,7 @@
|
||||||
"server": "127.0.0.1",
|
"server": "127.0.0.1",
|
||||||
"server_port": 4443,
|
"server_port": 4443,
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"password": "fuck me till the daylight",
|
"password": "8JCsPssfgS8tiRwiMlhARg==",
|
||||||
"tls": {
|
"tls": {
|
||||||
"enabled": true,
|
"enabled": true,
|
||||||
"server_name": "google.com",
|
"server_name": "google.com",
|
||||||
|
|
Loading…
Reference in a new issue