mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-13 20:23:20 +00:00
48 lines
935 B
JSON
48 lines
935 B
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "debug"
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"listen": "127.0.0.1",
|
||
|
"port": "1080",
|
||
|
"protocol": "socks",
|
||
|
"settings": {
|
||
|
"udp": true
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "vless",
|
||
|
"settings": {
|
||
|
"vnext": [
|
||
|
{
|
||
|
"address": "example.com",
|
||
|
"port": 443,
|
||
|
"users": [
|
||
|
{
|
||
|
"id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797",
|
||
|
"encryption": "none"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "http",
|
||
|
"httpSettings": {
|
||
|
"path": "/vlh2"
|
||
|
},
|
||
|
"security": "tls",
|
||
|
"tlsSettings": {
|
||
|
"allowInsecure": false,
|
||
|
"fingerprint": "chrome",
|
||
|
"alpn": ["h2"],
|
||
|
"serverName": "vlh2o.example.com" // Change to ssh2o.yourdomain.tld
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|