support fallback website

This commit is contained in:
root
2022-05-22 08:21:04 +00:00
parent 251a7f9e8e
commit 567845db7a
7 changed files with 146 additions and 51 deletions

48
config.json.tp Normal file
View File

@@ -0,0 +1,48 @@
{
"policy": {
"levels": {
"0": {
"handshake": 5,
"connIdle": 300,
"uplinkOnly": 2,
"downlinkOnly": 5,
"statsUserUplink": false,
"statsUserDownlink": false,
"bufferSize": 10240
}
},
"system": {
"statsInboundUplink": false,
"statsInboundDownlink": false,
"statsOutboundUplink": false,
"statsOutboundDownlink": false
}
},
"inbounds": [
{
"port": 8080,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "$UUID",
"level": 0
}
],
"decryption": "none"
},
"streamSettings": {
"network": "ws",
"security": "none",
"wsSettings": {
"path": "/v2ws"
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}