docs: 更新 Web 访问配置 - 添加认证和可写模式

- ttyd 添加基本认证 (sanguo:sanguo2024)
- 添加 -W 参数启用可写模式
- 更新安全配置说明
- 添加密码修改说明

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-01 08:24:08 +08:00
parent 449eec9df7
commit 7d6b82efd2
2 changed files with 46 additions and 13 deletions
+3 -3
View File
@@ -447,10 +447,10 @@ claude
### Web 访问
```bash
# 启动 Web 终端
ttyd -p 8088 tmux attach -t sanguo_dev
# 启动 Web 终端 (带认证+可写)
ttyd -c sanguo:sanguo2024 -W -p 8088 tmux attach -t sanguo_dev
# 访问
# 访问 (会提示输入用户名密码)
http://YOUR_LAN_IP:8088
```