mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-26 16:48:32 +03:00
Infra/conf: Rename inbounds clients to users
This commit is contained in:
@@ -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` 生成
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@
|
||||
"port": 443,
|
||||
"protocol": "vless",
|
||||
"settings": {
|
||||
"clients": [
|
||||
"users": [
|
||||
{
|
||||
"id": "", // 填写你的 UUID
|
||||
"flow": "xtls-rprx-vision",
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user