v2ray-agent/config/config_ws_tls.json

80 lines
1.4 KiB
JSON
Raw Normal View History

2019-11-06 10:58:06 +08:00
{
"log": {
2020-05-22 15:30:07 +08:00
"access": "/usr/bin/V2RayConfig/V2Ray_access.log",
"error": "/usr/bin/V2RayConfig/V2Ray_error.log",
"loglevel": "warning"
2019-11-06 10:58:06 +08:00
},
"stats": {},
"api": {
"services": [
"StatsService"
],
"tag": "api"
},
"policy": {
"levels": {
"1": {
"handshake": 4,
"connIdle": 300,
"uplinkOnly": 2,
"downlinkOnly": 5,
"statsUserUplink": false,
"statsUserDownlink": false
}
},
"system": {
"statsInboundUplink": true,
"statsInboundDownlink": true
}
},
"allocate": {
"strategy": "always",
"refresh": 5,
"concurrency": 3
},
"inbounds": [
{
2020-05-22 15:30:07 +08:00
"port": 31291,
2019-11-06 10:58:06 +08:00
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "a4f7ef9b-6951-2397-098d-bb1e660b3805",
"alterId": 64,
"level": 1,
2020-05-22 15:30:07 +08:00
"email": "xxx@v2ray.com"
2019-11-06 10:58:06 +08:00
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/v2"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
}
}
],
"routing": {
"settings": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
}
]
},
"strategy": "rules"
}
}