如何运行 TON 网站
👋 引言
TON 网站的工作方式几乎与普通网站相同,除了它们的安装。需要执行一些额外的操作来启动它们。在这篇教程中,我将向您展示如何做到这一点。
🖥 运行 TON 网站
安装 Tonutils 反向代理 来使用 TON 代理为您的网站服务。
在任何 Linux 上的安装
下载
wget https://github.com/ton-utils/reverse-proxy/releases/latest/download/tonutils-reverse-proxy-linux-amd64
chmod +x tonutils-reverse-proxy-linux-amd64
运行
用域配置运行,并按步骤操作:
./tonutils-reverse-proxy-linux-amd64 --domain your-domain.ton
使用 Tonkeeper、Tonhub 或任何其他钱包扫描你的终端中的 QR 码,执行交易。您的域将会链接到您的网站上。
无域运行
作为替代,如果你没有 .ton 或 .t.me 域,你可以以简单模式运行,使用 .adnl 域:
./tonutils-reverse-proxy-linux-amd64