- Run Caddy server:
docker compose up --build -d
- Download TON reverse-proxy:
wget -O tonutils-reverse-proxy https://github.com/ton-utils/reverse-proxy/releases/latest/download/tonutils-reverse-proxy-linux-arm64
chmod +x tonutils-reverse-proxy
- First run of reverse proxy (to get config and approve transaction with QR-code):
./tonutils-reverse-proxy --domain karfly.ton
- Edit config:
sudo vim config.json
# set "proxy_pass": "http://127.0.0.1:12169/"
# open "port" on your instance
- Run TON reverse-proxy (in daemon mode):
./tonutils-reverse-proxy --domain karfly.ton &
- Stop TON reverse-proxy:
ps aux | grep tonutils-reverse-proxy
kill -9 XXX
Uncomment line with Caddyfile.redirect
in docker-compose.yml
and restart
You can use tonbyte.com provider. Follow instructions on their website.