diff --git a/test/autoXRAYselfTLS2.sh b/test/autoXRAYselfTLS2.sh index 01d52dc..9647997 100644 --- a/test/autoXRAYselfTLS2.sh +++ b/test/autoXRAYselfTLS2.sh @@ -222,7 +222,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "dnsLog": false, "access": "/var/log/xray/access.log", "error": "/var/log/xray/error.log", - "loglevel": "warning" + "loglevel": "none" }, "dns": { "servers": [ @@ -468,7 +468,19 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" { "tag": "block", "protocol": "blackhole" - } + }, + { + "tag": "warp", + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "127.0.0.1", + "port": 40000 + } + ] + } + } ], "routing": { "rules": [ @@ -491,7 +503,11 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "geosite:private" ], "outboundTag": "block" - } + }, + { + "outboundTag": "direct", + "domain": ["geosite:google-gemini"] + } ], "domainStrategy": "IPIfNonMatch" }