From 7a24915ffbd3c1fed3df753c5659071a1833ab51 Mon Sep 17 00:00:00 2001 From: xVRVx <63975481+xVRVx@users.noreply.github.com> Date: Sun, 14 Dec 2025 10:30:05 +0300 Subject: [PATCH] Add files via upload --- autoXRAYselfConfRUxhttp.sh | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/autoXRAYselfConfRUxhttp.sh b/autoXRAYselfConfRUxhttp.sh index a5037cf..3501769 100644 --- a/autoXRAYselfConfRUxhttp.sh +++ b/autoXRAYselfConfRUxhttp.sh @@ -199,6 +199,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" { "log": { "dnsLog": false, + "access": "/var/log/xray/access.log", + "error": "/var/log/xray/error.log", "loglevel": "none" }, "dns": { @@ -345,7 +347,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": [ @@ -368,7 +382,11 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "geosite:private" ], "outboundTag": "block" - } + }, + { + "outboundTag": "direct", + "domain": ["geosite:google-gemini"] + } ], "domainStrategy": "IPIfNonMatch" }