Add examples

This commit is contained in:
Sergei Maklagin
2025-06-08 22:38:32 +03:00
parent e1a58d12fe
commit 0dff811977
4 changed files with 325 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
{
"log":{
"level":"error"
},
"dns":{
"servers":[
{
"address":"local",
"detour":"direct"
}
]
},
"inbounds":[
{
"type":"vless",
"tag":"vless-out",
"listen":"0.0.0.0",
"listen_port":443,
"tls":{
"enabled":true,
"server_name":"example.com",
"certificate_path":"/path/to/fullchain.pem",
"key_path":"/path/to/privkey.pem",
"alpn":[
"h2" // h3 for QUIC
]
},
"users":[
{
"name":"user",
"uuid":"3179dce2-2ff9-413c-85b4-c1d53ed41668"
}
],
"transport":{
"type":"xhttp",
"mode":"stream-up",
"path":"/xhttp"
}
}
],
"outbounds":[
{
"type":"direct",
"tag":"direct"
},
{
"type":"dns",
"tag":"dns-out"
}
],
"route":{
"rules":[
{
"protocol":"dns",
"outbound":"dns-out"
},
{
"port":53,
"outbound":"dns-out"
}
],
"final":"direct",
"auto_detect_interface":true
}
}