3x-ui/web/service/config.json

83 lines
1.4 KiB
JSON
Raw Normal View History

2023-02-09 22:18:06 +03:00
{
"log": {
"access": "none",
"dnsLog": false,
2024-09-24 12:38:10 +03:00
"error": "",
"loglevel": "warning",
"maskAddress": ""
2023-02-09 22:18:06 +03:00
},
"api": {
2023-04-18 08:52:04 +03:00
"tag": "api",
2023-05-18 11:22:53 +03:00
"services": [
"HandlerService",
"LoggerService",
"StatsService"
]
2023-02-09 22:18:06 +03:00
},
"inbounds": [
{
2023-04-18 08:52:04 +03:00
"tag": "api",
2023-02-09 22:18:06 +03:00
"listen": "127.0.0.1",
"port": 62789,
"protocol": "dokodemo-door",
"settings": {
"address": "127.0.0.1"
2023-04-18 08:52:04 +03:00
}
2023-02-09 22:18:06 +03:00
}
],
"outbounds": [
{
2024-01-26 16:20:35 +03:00
"tag": "direct",
2023-02-09 22:18:06 +03:00
"protocol": "freedom",
2024-03-10 23:38:57 +03:00
"settings": {
"domainStrategy": "UseIP"
}
2023-02-09 22:18:06 +03:00
},
{
2023-04-18 08:52:04 +03:00
"tag": "blocked",
2023-02-09 22:18:06 +03:00
"protocol": "blackhole",
2023-04-18 08:52:04 +03:00
"settings": {}
2023-02-09 22:18:06 +03:00
}
],
"policy": {
"levels": {
"0": {
2023-04-18 08:52:04 +03:00
"statsUserDownlink": true,
"statsUserUplink": true
2023-02-09 22:18:06 +03:00
}
},
"system": {
"statsInboundDownlink": true,
2024-02-04 12:32:28 +03:00
"statsInboundUplink": true,
"statsOutboundDownlink": true,
"statsOutboundUplink": true
2023-02-09 22:18:06 +03:00
}
},
"routing": {
2024-03-10 23:38:57 +03:00
"domainStrategy": "AsIs",
2023-02-09 22:18:06 +03:00
"rules": [
{
2023-04-18 08:52:04 +03:00
"type": "field",
2023-05-18 11:22:53 +03:00
"inboundTag": [
"api"
],
2023-04-18 08:52:04 +03:00
"outboundTag": "api"
2023-02-09 22:18:06 +03:00
},
{
2023-04-18 08:52:04 +03:00
"type": "field",
2023-04-03 22:58:26 +03:00
"outboundTag": "blocked",
2023-05-18 11:22:53 +03:00
"ip": [
"geoip:private"
]
2023-02-09 22:18:06 +03:00
},
{
2023-04-18 08:52:04 +03:00
"type": "field",
2023-02-09 22:18:06 +03:00
"outboundTag": "blocked",
2023-05-18 11:22:53 +03:00
"protocol": [
"bittorrent"
]
2023-02-09 22:18:06 +03:00
}
]
},
"stats": {}
2023-05-18 11:22:53 +03:00
}