mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-04-21 17:59:30 +08:00
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "0.0.0.0",
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "",
|
|
"level": 0,
|
|
"email": "love@v2fly.org"
|
|
}
|
|
],
|
|
"fallbacks": [
|
|
{
|
|
"dest": 8001,
|
|
"xver": 1
|
|
},
|
|
{
|
|
"path": "/testing",
|
|
"dest": "127.0.0.1:8003",
|
|
"xver": 1
|
|
},
|
|
{
|
|
"path": "/tested",
|
|
"dest": "127.0.0.1:8004",
|
|
"xver": 1
|
|
},
|
|
{
|
|
"alpn": "h2",
|
|
"dest": "8002",
|
|
"xver": 1
|
|
}
|
|
],
|
|
"decryption": "none"
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"serverName": "example.domain",
|
|
"alpn": [
|
|
"h2",
|
|
"http/1.1"
|
|
],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/path/to/certificate.crt",
|
|
"keyFile": "/path/to/key.key"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "direct"
|
|
}
|
|
]
|
|
} |