mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-25 01:51:29 +00:00
41 lines
711 B
Plaintext
41 lines
711 B
Plaintext
{
|
|
"log": {
|
|
"loglevel": "debug"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": "1080",
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"udp": true
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "trojan",
|
|
"settings": {
|
|
"servers": [
|
|
{
|
|
"address": "example.com",
|
|
"port": 443,
|
|
"password": "desdemona99"
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "grpc",
|
|
"grpcSettings": {
|
|
"serviceName": "trgrpc"
|
|
},
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"allowInsecure": false,
|
|
"fingerprint": "chrome"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|