mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-14 20:53:19 +00:00
56 lines
929 B
Plaintext
56 lines
929 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": "http",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
}
|