From c836d8d634fae819de64b9b8db244ebddb1ee591 Mon Sep 17 00:00:00 2001 From: xVRVx <63975481+xVRVx@users.noreply.github.com> Date: Wed, 3 Dec 2025 18:40:49 +0300 Subject: [PATCH] Add files via upload --- test/autoXRAYselfConfRUxhttp222.sh | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/test/autoXRAYselfConfRUxhttp222.sh b/test/autoXRAYselfConfRUxhttp222.sh index 815ba26..9dbb2a6 100644 --- a/test/autoXRAYselfConfRUxhttp222.sh +++ b/test/autoXRAYselfConfRUxhttp222.sh @@ -42,6 +42,7 @@ echo "✅ Записываем конфигурацию в $CONFIG_PATH для bash -c "cat > $CONFIG_PATH" < "$SCRIPT_DIR/config.json" { "log": { "dnsLog": false, + "access": "/var/log/xray/access.log", + "error": "/var/log/xray/error.log", "loglevel": "none" }, "dns": { @@ -212,7 +218,7 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" { "tag": "vsXHTTPtls", "port": 443, - "listen": "127.0.0.1", + "listen": "0.0.0.0", "protocol": "vless", "settings": { "clients": [ @@ -241,8 +247,8 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "serverName": "$DOMAIN", "certificates": [ { - "certificateFile": "/etc/letsencrypt/live/$DOMAIN/fullchain.cer", - "keyFile": "/etc/letsencrypt/live/$DOMAIN/private.key" + "certificateFile": "/etc/letsencrypt/live/fullchain.pem", + "keyFile": "/etc/letsencrypt/live/privkey.pem" } ], "alpn": [ @@ -367,8 +373,9 @@ cat << 'EOF' | envsubst > "$SCRIPT_DIR/config.json" "auth": "password", "accounts": [ { - "pass": "${socksUser}", - "user": "${socksPasw}" + "user": "${socksUser}", + "pass": "${socksPasw}" + } ] }