mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-10-05 21:38:18 +03:00
Document: Deprecated vnext.users
This commit is contained in:
+4
-12
@@ -10,7 +10,7 @@
|
||||
为了避免你的流量被解密,<br>
|
||||
你应该使用 `xray uuid` 或 `uuidgen` 生成一个独一无二的uuid <br>
|
||||
在服务端上,放入 `inbounds[0].settings.users[0].id` 内 <br>
|
||||
在客户端内,放入 `outbounds[0].settings.vnext[0].users[0].id` 内 <br>
|
||||
在客户端内,放入 `outbounds[0].settings.id` 内 <br>
|
||||
:::
|
||||
|
||||
## 服务端配置
|
||||
@@ -62,17 +62,9 @@
|
||||
{
|
||||
"protocol": "vmess",
|
||||
"settings": {
|
||||
"vnext": [
|
||||
{
|
||||
"address": "server", // 服务器地址,请修改为你自己的服务器 ip 或域名
|
||||
"port": 10086, // 服务器端口
|
||||
"users": [
|
||||
{
|
||||
"id": "b831381d-6324-4d53-ad4f-8cda48b30811" // 记得替换这个字段,使用 `xray uuid` 或 `uuidgen` 生成
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
"address": "server", // 服务器地址,请修改为你自己的服务器 ip 或域名
|
||||
"port": 10086, // 服务器端口
|
||||
"id": "b831381d-6324-4d53-ad4f-8cda48b30811" // 记得替换这个字段,使用 `xray uuid` 或 `uuidgen` 生成
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user