mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-25 18:11:28 +00:00
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
|
{
|
||
|
"log": {
|
||
|
"loglevel": "warning"
|
||
|
},
|
||
|
"inbounds": [
|
||
|
{
|
||
|
"port": 443,
|
||
|
"protocol": "vless",
|
||
|
"settings": {
|
||
|
"clients": [
|
||
|
{
|
||
|
"id": "", // 填写你的 UUID
|
||
|
"level": 0,
|
||
|
"email": "love@example.com"
|
||
|
}
|
||
|
],
|
||
|
"decryption": "none",
|
||
|
"fallbacks": [
|
||
|
{
|
||
|
"dest": 80
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"streamSettings": {
|
||
|
"network": "tcp",
|
||
|
"security": "tls",
|
||
|
"tlsSettings": {
|
||
|
"alpn": [
|
||
|
"http/1.1"
|
||
|
],
|
||
|
"certificates": [
|
||
|
{
|
||
|
"certificateFile": "/path/to/fullchain.crt", // 换成你的证书,绝对路径
|
||
|
"keyFile": "/path/to/private.key" // 换成你的私钥,绝对路径
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"outbounds": [
|
||
|
{
|
||
|
"protocol": "freedom"
|
||
|
}
|
||
|
]
|
||
|
}
|