forked from mack-a/v2ray-agent
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_ws_tls.json
79 lines (79 loc) · 1.4 KB
/
config_ws_tls.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"log": {
"access": "/usr/bin/V2RayConfig/V2Ray_access.log",
"error": "/usr/bin/V2RayConfig/V2Ray_error.log",
"loglevel": "warning"
},
"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": 31291,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "a4f7ef9b-6951-2397-098d-bb1e660b3805",
"alterId": 64,
"level": 1,
"email": "xxx@v2ray.com"
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/v2"
}
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {
}
}
],
"routing": {
"settings": {
"rules": [
{
"inboundTag": [
"api"
],
"outboundTag": "api",
"type": "field"
}
]
},
"strategy": "rules"
}
}