2 Commits
Author SHA1 Message Date
xsl ec248e18da ops(deploy): 一键部署脚本 tools/deploy.sh + deploy.md 同步 no-cache 缓存策略
- tools/deploy.sh:git pull --ff-only → rsync web/ → /var/www/soundgame
  (排除开发用文件)→ chown www-data → 线上冒烟(大厅/子站/301/Range)。
  已在部署服务器实测全流程 PASS。
- docs/deploy.md:nginx 配置段同步为线上现行 no-cache 版本(原文档仍是
  expires+public,照抄会把「部署后旧 JS 在浏览器滞留 24h」的坑重新引回),
  并注明一键脚本入口。背景:2026-09-07 引擎句尾截断修复已正确部署,
  但旧 audio.js 被 max-age=86400 public 缓存,用户 24h 内仍执行旧代码。
2026-09-07 18:03:39 +08:00
xslandCursor 2de1fecbc6 docs: 公网静态部署手册(game.xiangsilian.com)
线上只托管静态文件、不暴露玩具级用户 API;HTTPS 域名下大厅隐藏登录。部署步骤与 Nginx 配置记在 docs/deploy.md,便于以后 rsync 更新。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-31 11:43:32 +08:00