Infra/conf: Rename inbounds clients to users

This commit is contained in:
Meow
2026-05-06 12:25:52 +08:00
parent 64d0e2c213
commit 0177cec440
39 changed files with 110 additions and 110 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
::: danger
为了避免你的流量被解密,<br>
你应该使用 `xray uuid` 或 `uuidgen` 生成一个独一无二的uuid <br>
在服务端上,放入 `inbounds[0].settings.clients[0].id` 内 <br>
在服务端上,放入 `inbounds[0].settings.users[0].id` 内 <br>
在客户端内,放入 `outbounds[0].settings.vnext[0].users[0].id` 内 <br>
:::
@@ -24,7 +24,7 @@
"port": 10086, // 服务器监听端口
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "b831381d-6324-4d53-ad4f-8cda48b30811" // 记得替换这个字段,使用 `xray uuid` 或 `uuidgen` 生成
}
+1 -1
View File
@@ -196,7 +196,7 @@
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "", // 填写你的 UUID
"flow": "xtls-rprx-vision",
+6 -6
View File
@@ -13,7 +13,7 @@
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
// ... ...
],
"decryption": "none",
@@ -140,7 +140,7 @@
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "", // 填写你的 UUID
"flow": "xtls-rprx-vision",
@@ -235,7 +235,7 @@
"listen": "127.0.0.1",
"protocol": "trojan",
"settings": {
"clients": [
"users": [
{
"password": "", // 填写你的密码
"level": 0,
@@ -270,7 +270,7 @@
"listen": "127.0.0.1",
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "", // 填写你的 UUID
"level": 0,
@@ -298,7 +298,7 @@
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "", // 填写你的 UUID
"level": 0,
@@ -336,7 +336,7 @@
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "", // 填写你的 UUID
"level": 0,
+2 -2
View File
@@ -80,7 +80,7 @@ acme.sh --install-cert -d example.com --fullchain-file /etc/ssl/xray/cert.pem --
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "UUID",
"flow": "xtls-rprx-vision"
@@ -135,7 +135,7 @@ acme.sh --install-cert -d example.com --fullchain-file /etc/ssl/xray/cert.pem --
"port": 5000,
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "UUID"
}
@@ -112,7 +112,7 @@ WantedBy=multi-user.target
"listen": "/dev/shm/vless.sock,0666",
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "uuid"
}
@@ -74,7 +74,7 @@
"port": 443,
"users": [
{
"id": "uuid", //填写uuid,可通过在终端中输入 xray uuid 生成;此处也支持任意字符串(https://xtls.github.io/config/inbounds/vless.html#clientobject)
"id": "uuid", //填写uuid,可通过在终端中输入 xray uuid 生成;此处也支持任意字符串(https://xtls.github.io/config/inbounds/vless.html#userobject)
"encryption": "none",
"flow": "xtls-rprx-vision"
}
@@ -220,7 +220,7 @@
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "uuid", //与客户端相同
"flow": "xtls-rprx-vision"