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}" + } ] }