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

76 lines
1.3 KiB
JSON
Raw Normal View History

2023-02-09 22:48:06 +03:30
{
"log": {
2023-04-03 23:28:26 +03:30
"loglevel": "warning",
2023-04-18 10:22:04 +04:30
"access": "./access.log",
"error": "./error.log"
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": [
{
"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,
"statsInboundUplink": true
}
},
"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
}