Kaynağa Gözat

default config domainStrategy

MHSanaei 1 yıl önce
ebeveyn
işleme
32afd7200a
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  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",