mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-01-19 06:19:29 +08:00
51 lines
1.4 KiB
JSON
51 lines
1.4 KiB
JSON
{
|
||
"log": {
|
||
"loglevel": "warning"
|
||
},
|
||
"inbounds": [
|
||
{
|
||
"port": 443,
|
||
"protocol": "vless",
|
||
"settings": {
|
||
"clients": [
|
||
{
|
||
"id": "", // 填写你的 UUID
|
||
"level": 0,
|
||
"email": "love@v2fly.org"
|
||
}
|
||
],
|
||
"decryption": "none",
|
||
"fallback": {
|
||
"unix": "/dev/shm/default.sock",
|
||
"xver": 1
|
||
},
|
||
"fallback_h2": {
|
||
"unix": "/dev/shm/h2.sock",
|
||
"xver": 1
|
||
}
|
||
},
|
||
"streamSettings": {
|
||
"network": "tcp",
|
||
"security": "tls",
|
||
"tlsSettings": {
|
||
"alpn": [
|
||
"h2",
|
||
"http/1.1"
|
||
],
|
||
"certificates": [
|
||
{
|
||
"certificateFile": "/path/to/tls.crt", // 换成你的证书(fullchain),绝对路径
|
||
"keyFile": "/path/to/tls.key" // 换成你的私钥,绝对路径
|
||
}
|
||
]
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"outbounds": [
|
||
{
|
||
"protocol": "freedom"
|
||
}
|
||
]
|
||
}
|