mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-14 12:43:18 +00:00
54 lines
1.4 KiB
Plaintext
54 lines
1.4 KiB
Plaintext
{
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "0.0.0.0",
|
|
"port": 443,
|
|
"protocol": "vless",
|
|
"settings": {
|
|
"clients": [
|
|
{
|
|
"id": "",
|
|
"level": 0,
|
|
"email": "love@example.com"
|
|
}
|
|
],
|
|
"decryption": "none",
|
|
"fallbacks": [
|
|
{
|
|
"dest": 8001
|
|
},
|
|
{
|
|
"alpn": "h2",
|
|
"dest": 8002
|
|
}
|
|
]
|
|
},
|
|
"streamSettings": {
|
|
"network": "tcp",
|
|
"security": "tls",
|
|
"tlsSettings": {
|
|
"serverName": "example.domain",
|
|
"alpn": [
|
|
"h2",
|
|
"http/1.1"
|
|
],
|
|
"certificates": [
|
|
{
|
|
"certificateFile": "/path/to/fullchain.crt",
|
|
"keyFile": "/path/to/private.key"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"protocol": "freedom",
|
|
"tag": "direct"
|
|
}
|
|
]
|
|
} |