Skip to content

Commit 2721026

Browse files
committed
chore: add policy
1 parent a5c2299 commit 2721026

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

startup.sh

+19
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
cat << EOF > /etc/v2ray/config.json
44
{
5+
"policy": {
6+
"levels": {
7+
"0": {
8+
"handshake": 5,
9+
"connIdle": 300,
10+
"uplinkOnly": 2,
11+
"downlinkOnly": 5,
12+
"statsUserUplink": false,
13+
"statsUserDownlink": false,
14+
"bufferSize": 10240
15+
}
16+
},
17+
"system": {
18+
"statsInboundUplink": false,
19+
"statsInboundDownlink": false,
20+
"statsOutboundUplink": false,
21+
"statsOutboundDownlink": false
22+
}
23+
},
524
"inbounds": [
625
{
726
"port": $PORT,

0 commit comments

Comments
 (0)