docs: make clone commands copy-ready

This commit is contained in:
Maintainer
2026-10-14 17:39:08 +07:00
parent 3f063dd2ca
commit 7ebde9cff4
3 changed files with 7 additions and 8 deletions
+2 -3
View File
@@ -42,13 +42,12 @@ WebSocket traffic always reach `tproxy-server`.
### Quick installation on a fresh VPS
Use a clean x86_64 VPS running Ubuntu or Debian. Create one direct DNS `A`
record for the proxy hostname. Copy the HTTPS clone URL from the Gitea **Code**
menu, connect to the VPS over SSH, and run:
record for the proxy hostname, connect to the VPS over SSH, and run:
```sh
sudo apt update
sudo apt install -y git
git clone <REPOSITORY_URL>
git clone https://gitea.sibdata.ru/dir/telegram-web-proxy-stack.git
cd telegram-web-proxy-stack
sudo ./quick-install.sh
```
+3 -5
View File
@@ -22,14 +22,12 @@
прямо на публичный IPv4 этого VPS;
- открытые у провайдера сервера входящие TCP-порты `80` и `443`.
На странице проекта в Gitea нажмите **Code**, скопируйте адрес **HTTPS**, затем
подключитесь к VPS по SSH и выполните команды ниже. Вместо текста в угловых
скобках вставьте скопированный адрес:
Подключитесь к VPS по SSH и целиком скопируйте этот блок команд:
```sh
sudo apt update
sudo apt install -y git
git clone <АДРЕС_РЕПОЗИТОРИЯ>
git clone https://gitea.sibdata.ru/dir/telegram-web-proxy-stack.git
cd telegram-web-proxy-stack
sudo ./quick-install.sh
```
@@ -124,7 +122,7 @@ WEB relay
Docker-хосте:
```sh
git clone <URL_РЕПОЗИТОРИЯ>
git clone https://gitea.sibdata.ru/dir/telegram-web-proxy-stack.git
cd telegram-web-proxy-stack
./install.sh
```
+2
View File
@@ -53,6 +53,7 @@ scan_network_literals() {
domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')"
case "$domain" in
github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \
gitea.sibdata.ru | \
example.com | *.example.com | *.localhost | \
*.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \
*.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;
@@ -141,6 +142,7 @@ while IFS= read -r revision; do
domain="$(printf '%s' "$domain" | tr '[:upper:]' '[:lower:]' | sed 's/[^[:alnum:].-]$//')"
case "$domain" in
github.com | core.telegram.org | download.docker.com | docker.io | containerd.io | \
gitea.sibdata.ru | \
example.com | *.example.com | *.localhost | \
*.md | *.sh | *.json | *.yml | *.yaml | *.html | *.go | *.js | \
*.gz | *.pem | *.key | *.p12 | *.pfx | *.example) ;;