Browse Source

default config domainStrategy

MHSanaei 1 năm trước cách đây
mục cha
commit
32afd7200a
1 tập tin đã thay đổi với 4 bổ sung2 xóa
  1. 4 2
      web/service/config.json

+ 4 - 2
web/service/config.json

@@ -28,7 +28,9 @@
     {
       "tag": "direct",
       "protocol": "freedom",
-      "settings": {}
+      "settings": {
+        "domainStrategy": "UseIP"
+      }
     },
     {
       "tag": "blocked",
@@ -51,7 +53,7 @@
     }
   },
   "routing": {
-    "domainStrategy": "IPIfNonMatch",
+    "domainStrategy": "AsIs",
     "rules": [
       {
         "type": "field",