mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-27 19:11:27 +00:00
43 lines
808 B
Plaintext
43 lines
808 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": "http",
|
||
|
"httpSettings": {
|
||
|
"path": "/trh2"
|
||
|
},
|
||
|
"security": "tls",
|
||
|
"tlsSettings": {
|
||
|
"allowInsecure": false,
|
||
|
"fingerprint": "chrome",
|
||
|
"alpn": ["h2"],
|
||
|
"serverName": "trh2o.example.com" // Change to ssh2o.yourdomain.tld
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|