mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 13:16:06 +08:00
Update config_server.json
This commit is contained in:
parent
a309f06fad
commit
bdf76c8ffc
@ -9,7 +9,7 @@
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "", // 填写你的 UUID
|
||||
"id": "","//": "填写你的 UUID",
|
||||
"level": 0,
|
||||
"email": "love@example.com"
|
||||
}
|
||||
@ -20,7 +20,7 @@
|
||||
"dest": 80
|
||||
},
|
||||
{
|
||||
"path": "/websocket", // 必须换成自定义的 PATH
|
||||
"path": "/websocket","//": "必须换成自定义的 PATH",
|
||||
"dest": 1234,
|
||||
"xver": 1
|
||||
}
|
||||
@ -35,8 +35,8 @@
|
||||
],
|
||||
"certificates": [
|
||||
{
|
||||
"certificateFile": "/path/to/fullchain.crt", // 换成你的证书,绝对路径
|
||||
"keyFile": "/path/to/private.key" // 换成你的私钥,绝对路径
|
||||
"certificateFile": "/path/to/fullchain.crt","//": "换成你的证书,绝对路径",
|
||||
"keyFile": "/path/to/private.key","//": "换成你的私钥,绝对路径"
|
||||
}
|
||||
]
|
||||
}
|
||||
@ -49,7 +49,7 @@
|
||||
"settings": {
|
||||
"clients": [
|
||||
{
|
||||
"id": "", // 填写你的 UUID
|
||||
"id": "","//": "填写你的 UUID",
|
||||
"level": 0,
|
||||
"email": "love@example.com"
|
||||
}
|
||||
@ -60,8 +60,8 @@
|
||||
"network": "ws",
|
||||
"security": "none",
|
||||
"wsSettings": {
|
||||
"acceptProxyProtocol": true, // 提醒:若你用 Nginx/Caddy 等反代 WS,需要删掉这行
|
||||
"path": "/websocket" // 必须换成自定义的 PATH,需要和上面的一致
|
||||
"acceptProxyProtocol": true,"//": "提醒:若你用 Nginx/Caddy 等反代 WS,需要删掉这行",
|
||||
"path": "/websocket","//": "必须换成自定义的 PATH,需要和上面的一致"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user