From 7effdd6c7c5a8da94772c57b2ecb7c0a4d17b7dc Mon Sep 17 00:00:00 2001 From: Evgen Date: Fri, 21 Aug 2026 19:27:38 +0800 Subject: [PATCH] =?UTF-8?q?=D0=97=D0=B0=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B8=20=D0=BD=D0=B0=20=D1=81?= =?UTF-8?q?=D0=B2=D0=BE=D0=B9=20Gitea?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CLAUDE.md | 8 ++++---- README.md | 10 +++++----- README_EN.md | 10 +++++----- x-ui-latest.sh | 2 +- x-ui-patch.sh | 4 ++-- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 9044b8f..02d4fcf 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -21,7 +21,7 @@ assets/ ``` Scripts download assets at install time from this repo's raw GitHub URL -(`https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/...`) — changes take +(`https://git.pub38.com/Evgen/3x-ui-pro/main/...`) — changes take effect on servers only after push to `main`. ## What x-ui-latest.sh does @@ -82,14 +82,14 @@ IP = `api/st/getip`. Speedtest locations use `limit_conn`, not `limit_req` ## Running ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-latest.sh) \ +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-latest.sh) \ -subdomain panel.example.com -reality_domain r.example.com ``` Patch an existing install (re-reads ports/paths from x-ui.db and nginx): ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-patch.sh) +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-patch.sh) ``` Add AdGuard Home on the panel domain (standalone, re-run safe, `-uninstall y` @@ -99,5 +99,5 @@ to remove). AGH binds localhost only; nginx bridges `/dns-query` (DoH, regenerate the vhost and drop that include — re-run this script after them: ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-adguard.sh) +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-adguard.sh) ``` diff --git a/README.md b/README.md index 68714e8..7e75667 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ **Шаг 1 — скачать скрипт** ```bash -wget -qO x-ui-latest.sh https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-latest.sh +wget -qO x-ui-latest.sh https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-latest.sh ``` **Шаг 2 — запустить** @@ -46,7 +46,7 @@ bash x-ui-latest.sh Применить текущие фиксы к существующей установке (без изменений БД): ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-patch.sh) +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-patch.sh) ``` --- @@ -59,7 +59,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui- - **Админка** — на случайном пути `/adg-/` (логин и пароль выводит скрипт) ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-adguard.sh) +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-adguard.sh) ``` Повторный запуск безопасен (настройки и пароль сохраняются). После установщика или патча запустите скрипт ещё раз — они перезаписывают конфиг nginx. @@ -67,7 +67,7 @@ bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui- Удаление: ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-adguard.sh) -uninstall y +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-adguard.sh) -uninstall y ``` --- @@ -109,7 +109,7 @@ bash x-ui-latest.sh -uninstall y **Установить скрипт бэкапа** ```bash -wget -qO /usr/local/bin/x-ui-backup https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/assets/backup/x-ui-backup.sh +wget -qO /usr/local/bin/x-ui-backup https://git.pub38.com/Evgen/3x-ui-pro/main/assets/backup/x-ui-backup.sh chmod +x /usr/local/bin/x-ui-backup ``` diff --git a/README_EN.md b/README_EN.md index 5919e91..aaaa8e7 100644 --- a/README_EN.md +++ b/README_EN.md @@ -31,7 +31,7 @@ Automated installer for the [3x-ui](https://github.com/MHSanaei/3x-ui) panel wit **Step 1 — download the script** ```bash -wget -qO x-ui-latest.sh https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-latest.sh +wget -qO x-ui-latest.sh https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-latest.sh ``` **Step 2 — run it** @@ -46,7 +46,7 @@ bash x-ui-latest.sh -install y Apply current fixes to an existing installation (no DB changes): ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-patch.sh) +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-patch.sh) ``` --- @@ -59,7 +59,7 @@ Installs [AdGuard Home](https://github.com/AdguardTeam/AdGuardHome) on the panel - **Admin UI** — at a random `/adg-/` path (login and password are printed by the script) ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-adguard.sh) +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-adguard.sh) ``` Re-running is safe (settings and password are kept). After the installer or the patch, run this script again — they rewrite the nginx config. @@ -67,7 +67,7 @@ Re-running is safe (settings and password are kept). After the installer or the Uninstall: ```bash -bash <(curl -fsSL https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-adguard.sh) -uninstall y +bash <(curl -fsSL https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-adguard.sh) -uninstall y ``` --- @@ -108,7 +108,7 @@ The import link is printed by the script after installation. **Install the backup script** ```bash -wget -qO /usr/local/bin/x-ui-backup https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/assets/backup/x-ui-backup.sh +wget -qO /usr/local/bin/x-ui-backup https://git.pub38.com/Evgen/3x-ui-pro/main/assets/backup/x-ui-backup.sh chmod +x /usr/local/bin/x-ui-backup ``` diff --git a/x-ui-latest.sh b/x-ui-latest.sh index f564b05..55e062a 100644 --- a/x-ui-latest.sh +++ b/x-ui-latest.sh @@ -51,7 +51,7 @@ check_cpu # ─── Constants ─────────────────────────────────────────────────────────────── XUIDB="/etc/x-ui/x-ui.db" -GITHUB_RAW="https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main" +GITHUB_RAW="https://git.pub38.com/Evgen/3x-ui-pro/main" FAKE_SITE_COUNT=50 # ─── Default argument values ───────────────────────────────────────────────── diff --git a/x-ui-patch.sh b/x-ui-patch.sh index dc506e8..38c22b3 100644 --- a/x-ui-patch.sh +++ b/x-ui-patch.sh @@ -10,12 +10,12 @@ # 6. Replaces fake cover site with a current one # # Usage: -# wget -qO x-ui-patch.sh https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main/x-ui-patch.sh +# wget -qO x-ui-patch.sh https://git.pub38.com/Evgen/3x-ui-pro/main/x-ui-patch.sh # bash x-ui-patch.sh set -Eeuo pipefail XUIDB="/etc/x-ui/x-ui.db" -GITHUB_RAW="https://raw.githubusercontent.com/mozaroc/3x-ui-pro/main" +GITHUB_RAW="https://git.pub38.com/Evgen/3x-ui-pro/main" FAKE_SITE_COUNT=50 LIB_DIR="/usr/local/lib/3x-ui-pro" DIAG_ROOT="/var/www/diagnostics"