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 @@ To configure more complex features, please refer to the detailed instructions in
::: danger
To avoid your traffic being decrypted,<br>
You should use `xray uuid` or `uuidgen` to generate a unique UUID.<br>
On the server side, put it in `inbounds[0].settings.clients[0].id`.<br>
On the server side, put it in `inbounds[0].settings.users[0].id`.<br>
On the client side, put it in `outbounds[0].settings.vnext[0].users[0].id`.<br>
:::
@@ -24,7 +24,7 @@ You need a server outside the firewall to run the server-side Xray. The configur
"port": 10086, // Server listening port
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "b831381d-6324-4d53-ad4f-8cda48b30811" // Remember to replace this field, generate using `xray uuid` or `uuidgen`
}
+1 -1
View File
@@ -190,7 +190,7 @@ First, various configurations can refer to the [official VLESS configuration exa
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "", // Fill in your UUID
"flow": "xtls-rprx-vision",
+6 -6
View File
@@ -13,7 +13,7 @@ If you used the [Xray Configuration](../level-0/ch07-xray-server.md#_7-4-configu
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
// ... ...
],
"decryption": "none",
@@ -140,7 +140,7 @@ Now that you understand what the [Perfect Form of Fallback] is, you can get your
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "", // Fill in your UUID
"flow": "xtls-rprx-vision",
@@ -235,7 +235,7 @@ How do we explain this configuration in plain language?
"listen": "127.0.0.1",
"protocol": "trojan",
"settings": {
"clients": [
"users": [
{
"password": "", // Fill in your password
"level": 0,
@@ -270,7 +270,7 @@ How do we explain this configuration in plain language?
"listen": "127.0.0.1",
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "", // Fill in your UUID
"level": 0,
@@ -298,7 +298,7 @@ How do we explain this configuration in plain language?
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "", // Fill in your UUID
"level": 0,
@@ -336,7 +336,7 @@ How do we explain this configuration in plain language?
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
"users": [
{
"id": "", // Fill in your UUID
"level": 0,
@@ -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"
}
@@ -111,7 +111,7 @@ Enable auto-start on boot:
"listen": "/dev/shm/vless.sock,0666",
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "uuid"
}
@@ -76,7 +76,7 @@ If the Xray program is not installed on the side router, you can manually downlo
"port": 443,
"users": [
{
"id": "uuid", // Fill in UUID. Can be generated by typing 'xray uuid' in terminal; Arbitrary strings are also supported (https://xtls.github.io/en/config/inbounds/vless.html#clientobject)
"id": "uuid", // Fill in UUID. Can be generated by typing 'xray uuid' in terminal; Arbitrary strings are also supported (https://xtls.github.io/en/config/inbounds/vless.html#userobject)
"encryption": "none",
"flow": "xtls-rprx-vision"
}
@@ -222,7 +222,7 @@ If the Xray program is not installed on the side router, you can manually downlo
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
"users": [
{
"id": "uuid", // Same as client
"flow": "xtls-rprx-vision"