Обновить mtproto.md

This commit is contained in:
2026-03-22 10:59:56 +00:00
parent 81728b2622
commit 166a98bb7b

View File

@@ -12,6 +12,27 @@ docker run -d \
nineseconds/mtg:2 \
simple-run -n 1.1.1.1 -i prefer-ipv4 0.0.0.0:443 ee5d4504a8802be40de729445e45ec644c6e657874636c6f75642e732e70726f7830372d74672e7275
```
docker-compose.yml
```
version: '3.8'
services:
mtproto-proxy:
image: nineseconds/mtg:2
container_name: mtproto-proxy
restart: unless-stopped
ports:
- "443:443"
command:
- simple-run
- -n
- 1.1.1.1
- -i
- prefer-ipv4
- 0.0.0.0:443
- ee5d4504a8802be40de729445e45ec644c6e657874636c6f75642e732e70726f7830372d74672e72
```
### 3.Настройка sni + балансировка в roundrobin
файл `/etc/haproxy/haproxy.cfg`:
```haproxy