update - config

This commit is contained in:
MHSanaei
2023-05-18 11:52:53 +03:30
parent aba37be6eb
commit f781979d38
5 changed files with 86 additions and 41 deletions
+15 -5
View File
@@ -6,7 +6,11 @@
},
"api": {
"tag": "api",
"services": ["HandlerService", "LoggerService", "StatsService"]
"services": [
"HandlerService",
"LoggerService",
"StatsService"
]
},
"inbounds": [
{
@@ -47,20 +51,26 @@
"rules": [
{
"type": "field",
"inboundTag": ["api"],
"inboundTag": [
"api"
],
"outboundTag": "api"
},
{
"type": "field",
"outboundTag": "blocked",
"ip": ["geoip:private"]
"ip": [
"geoip:private"
]
},
{
"type": "field",
"outboundTag": "blocked",
"protocol": ["bittorrent"]
"protocol": [
"bittorrent"
]
}
]
},
"stats": {}
}
}