Browse Source

IPIfNonMatch

MHSanaei 1 year ago
parent
commit
72f868506d
1 changed files with 4 additions and 4 deletions
  1. 4 4
      web/service/config.json

+ 4 - 4
web/service/config.json

@@ -1,9 +1,8 @@
 {
   "log": {
-    "loglevel": "warning", 
+    "loglevel": "warning",
     "access": "./access.log"
   },
- 
   "api": {
     "services": [
       "HandlerService",
@@ -47,6 +46,7 @@
     }
   },
   "routing": {
+    "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
         "inboundTag": [
@@ -56,10 +56,10 @@
         "type": "field"
       },
       {
+        "outboundTag": "blocked",
         "ip": [
           "geoip:private"
         ],
-        "outboundTag": "blocked",
         "type": "field"
       },
       {
@@ -72,4 +72,4 @@
     ]
   },
   "stats": {}
-}
+}