mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-11-25 20:15:01 +03:00
ff7d31984f
The embedded template gave the direct outbound "noises": []. The pinned core warns on any non-nil noises, so every subscriber's client logged a deprecation warning on each load, and will refuse the document once the key is removed. An empty list did nothing, so it is omitted. The docs copy of the template had the same key and still carried settings.domainStrategy, which the panel dropped in #6482. It now matches the panel's file, and a docs test compares the two so the copy cannot drift again; Docs CI runs when the template changes.
91 lines
1.5 KiB
JSON
91 lines
1.5 KiB
JSON
{
|
|
"remarks": "",
|
|
"dns": {
|
|
"tag": "dns_out",
|
|
"queryStrategy": "UseIP",
|
|
"servers": [
|
|
{
|
|
"address": "8.8.8.8",
|
|
"skipFallback": false
|
|
}
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 10808,
|
|
"protocol": "socks",
|
|
"settings": {
|
|
"auth": "noauth",
|
|
"udp": true,
|
|
"userLevel": 8
|
|
},
|
|
"sniffing": {
|
|
"destOverride": [
|
|
"http",
|
|
"tls",
|
|
"quic",
|
|
"fakedns"
|
|
],
|
|
"enabled": true
|
|
},
|
|
"tag": "mixed"
|
|
},
|
|
{
|
|
"listen": "127.0.0.1",
|
|
"port": 10809,
|
|
"protocol": "http",
|
|
"settings": {
|
|
"userLevel": 8
|
|
},
|
|
"tag": "http"
|
|
}
|
|
],
|
|
"log": {
|
|
"loglevel": "warning"
|
|
},
|
|
"outbounds": [
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom",
|
|
"settings": {
|
|
"redirect": ""
|
|
}
|
|
},
|
|
{
|
|
"tag": "block",
|
|
"protocol": "blackhole",
|
|
"settings": {
|
|
"response": {
|
|
"type": "http"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"policy": {
|
|
"levels": {
|
|
"8": {
|
|
"connIdle": 300,
|
|
"downlinkOnly": 1,
|
|
"handshake": 4,
|
|
"uplinkOnly": 1
|
|
}
|
|
},
|
|
"system": {
|
|
"statsOutboundUplink": true,
|
|
"statsOutboundDownlink": true
|
|
}
|
|
},
|
|
"routing": {
|
|
"domainStrategy": "AsIs",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"network": "tcp,udp",
|
|
"outboundTag": "proxy"
|
|
}
|
|
]
|
|
},
|
|
"stats": {}
|
|
}
|