mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-27 19:11:27 +00:00
56 lines
927 B
Plaintext
56 lines
927 B
Plaintext
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 2001,
|
|
"listen": "127.0.0.1",
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "",
|
|
"email": "love@example.com"
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"security": "none",
|
|
"network": "h2",
|
|
"httpSettings": {
|
|
"path": "/path",
|
|
"host": [
|
|
"xx.com"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom",
|
|
"settings": {}
|
|
},
|
|
{
|
|
"tag": "blocked",
|
|
"protocol": "blackhole",
|
|
"settings": {}
|
|
}
|
|
],
|
|
"routing": {
|
|
"domainStrategy": "AsIs",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"ip": [
|
|
"geoip:private"
|
|
],
|
|
"outboundTag": "blocked"
|
|
}
|
|
]
|
|
}
|
|
}
|