mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-06-28 21:26:06 +08:00
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"inbounds": [
|
|
{
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
]
|
|
},
|
|
"port": 10808,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "example.com","//": "Change to your domain.",
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "UUID","//": "Change to your UUID.",
|
|
"encryption": "none"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "splithttp",
|
|
"security": "tls",
|
|
"splithttpSettings": {
|
|
"path": "/splithttp",
|
|
"host": "example.com","//": "Change to your domain."
|
|
},
|
|
"tlsSettings": {
|
|
"serverName": "example.com","//": "Change to your domain.",
|
|
"alpn": [
|
|
"h3"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
|