mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-03-01 01:20:49 +03:00
83 lines
1.4 KiB
JSON
83 lines
1.4 KiB
JSON
{
|
|
"log": {
|
|
"access": "none",
|
|
"dnsLog": false,
|
|
"error": "",
|
|
"loglevel": "warning",
|
|
"maskAddress": ""
|
|
},
|
|
"api": {
|
|
"tag": "api",
|
|
"services": [
|
|
"HandlerService",
|
|
"LoggerService",
|
|
"StatsService"
|
|
]
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"tag": "api",
|
|
"listen": "127.0.0.1",
|
|
"port": 62789,
|
|
"protocol": "dokodemo-door",
|
|
"settings": {
|
|
"address": "127.0.0.1"
|
|
}
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"tag": "direct",
|
|
"protocol": "freedom",
|
|
"settings": {
|
|
"domainStrategy": "UseIP"
|
|
}
|
|
},
|
|
{
|
|
"tag": "blocked",
|
|
"protocol": "blackhole",
|
|
"settings": {}
|
|
}
|
|
],
|
|
"policy": {
|
|
"levels": {
|
|
"0": {
|
|
"statsUserDownlink": true,
|
|
"statsUserUplink": true
|
|
}
|
|
},
|
|
"system": {
|
|
"statsInboundDownlink": true,
|
|
"statsInboundUplink": true,
|
|
"statsOutboundDownlink": true,
|
|
"statsOutboundUplink": true
|
|
}
|
|
},
|
|
"routing": {
|
|
"domainStrategy": "AsIs",
|
|
"rules": [
|
|
{
|
|
"type": "field",
|
|
"inboundTag": [
|
|
"api"
|
|
],
|
|
"outboundTag": "api"
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "blocked",
|
|
"ip": [
|
|
"geoip:private"
|
|
]
|
|
},
|
|
{
|
|
"type": "field",
|
|
"outboundTag": "blocked",
|
|
"protocol": [
|
|
"bittorrent"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"stats": {}
|
|
} |