mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-14 12:43:18 +00:00
39 lines
973 B
JSON
39 lines
973 B
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 10800,
|
||
|
"listen": "127.0.0.1",
|
||
|
"protocol": "socks",
|
||
|
"settings": {
|
||
|
"udp": true
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "vless",
|
||
|
"settings": {
|
||
|
"vnext": [
|
||
|
{
|
||
|
"address": "example.com", // 换成你的域名
|
||
|
"port": 443,
|
||
|
"users": [
|
||
|
{
|
||
|
"id": "", // 填写你的 UUID
|
||
|
"encryption": "none",
|
||
|
"level": 0
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp",
|
||
|
"security": "tls"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|