mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-04-22 02:09:29 +08:00
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "" // 填写你的 UUID
|
|
}
|
|
],
|
|
"decryption": "none",
|
|
"fallbacks": [
|
|
{
|
|
"dest": 80
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"alpn": [
|
|
"http/1.1"
|
|
],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/caddy/certificates/acme-v02.api.letsencrypt.org-directory/example.com/example.com.crt", // example.com 换成你的域名
|
|
"keyFile": "/caddy/certificates/acme-v02.api.letsencrypt.org-directory/example.com/example.com.key" // example.com 换成你的域名
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom"
|
|
}
|
|
]
|
|
} |