mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-24 01:21:29 +00:00
31a1c6cbf5
add shortId
57 lines
1.7 KiB
Plaintext
57 lines
1.7 KiB
Plaintext
{
|
|
"log": {
|
|
"loglevel": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 10808,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
},
|
|
"sniffing": {
|
|
"enabled": true,
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic"
|
|
],
|
|
"routeOnly": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"vnext": [
|
|
{
|
|
"address": "",
|
|
"port": 443,
|
|
"users": [
|
|
{
|
|
"id": "", // Needs to match server side
|
|
"encryption": "none",
|
|
"flow": "xtls-rprx-vision"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "reality",
|
|
"realitySettings": {
|
|
"fingerprint": "chrome",
|
|
"serverName": "bluearchive.jp", // If your dest is `1.1.1.1:443`, then leave it empty
|
|
"publicKey": "", // run `xray x25519` to generate. Public and private keys need to be corresponding.
|
|
"spiderX": "", // If your dest is `1.1.1.1:443`, then you can fill it with `/dns-query/` or just leave it empty
|
|
"shortId": "" // Required
|
|
}
|
|
},
|
|
"tag": "proxy"
|
|
}
|
|
]
|
|
}
|