v2ray-agent/config/config_ws_tls.json

80 lines
1.3 KiB
JSON
Raw Normal View History

2019-11-06 10:58:06 +08:00
{
"log": {
"access": "",
"error": "",
"loglevel": "debug"
},
"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": [
{
"port": 31290,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "a4f7ef9b-6951-2397-098d-bb1e660b3805",
"alterId": 64,
"level": 1,
"email": "xxx_ls_ws_username@v2ray.com"
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/v2"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
}
}
],
"routing": {
"settings": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
}
]
},
"strategy": "rules"
}
}