Files
trihuy-russian/web/service/config.json
T

80 lines
1.4 KiB
JSON
Raw Normal View History

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