playbooks/scripts/sing-box/server-VLESS-TCP-XTLS.json

35 lines
614 B
JSON

{
"log": {
"level": "info"
},
"inbounds": [
{
"type": "vless",
"listen": "::",
"listen_port": 443,
"users": [
{
"uuid": "your-uuid",
"flow": "xtls-rprx-vision"
}
],
"tls": {
"enabled": true,
"server_name": "your.domain.com", // 必须有真实域名
"certificates": [
{
"certificate_file": "/etc/ssl/certs/fullchain.pem",
"key_file": "/etc/ssl/private/privkey.pem"
}
]
}
}
],
"outbounds": [
{
"type": "direct"
}
]
}