- 移除 .env 文件,直接使用 frps.toml 配置 - 更新 README.md,调整文件结构和配置流程 - 修改 docker-compose.yml,移除不必要的配置 - 删除 init.sh 脚本,简化部署流程 - 更新 nginx 配置相关文件,统一证书文件命名
Nginx
安装 Nginx
安装 Nginx
apt-get update && apt-get install nginx
启动 Nginx
systemctl start nginx
开机自启动
systemctl enable nginx
查看状态
systemctl status nginx
Nginx 配置
下载配置
curl -fsSL https://git.sugarscat.cn/me/script/-/raw/main/nginx/nginx.conf > /etc/nginx/nginx.conf
测试配置
nginx -t
重启 nginx
systemctl restart nginx