Files
Xray_bash_onekey/VLESS_tls/config.json
T
2021-08-12 16:20:47 +08:00

55 lines
1.2 KiB
JSON

{
"log": {
"access": "/var/log/xray/access.log",
"error": "/var/log/xray/error.log",
"loglevel": "warning"
},
"inbounds": [{
"port": 10086,
"listen": "127.0.0.1",
"tag": "VLESS-ws-in",
"protocol": "VLESS",
"settings": {
"clients": [{
"id": "UUID",
"level": 0,
"email": "me@idleleo.com"
}],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"path": "/ray/"
}
}
}],
"outbounds": [{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "blocked"
}
],
"dns": {
"servers": [
"8.8.8.8",
"8.8.4.4",
"1.1.1.1",
"1.0.0.1",
"localhost",
"https+local://1.1.1.1/dns-query"
]
},
"routing": {
"domainStrategy": "AsIs",
"rules": [{
"type": "field",
"inboundTag": ["VLESS-ws-in"],
"outboundTag": "direct"
}]
}
}