security: harden proxy IP trust, token flow, health and sessions

This commit is contained in:
2026-02-09 09:14:47 +08:00
parent f645a0f8ea
commit ebfac7266b
7 changed files with 199 additions and 79 deletions

View File

@@ -201,9 +201,12 @@ cd /www/wwwroot/zsglpt
```bash
mkdir -p data logs 截图
chmod 777 data logs 截图
chown -R 1000:1000 data logs 截图
chmod 750 data logs 截图
```
> 说明:避免使用 `chmod 777`。如容器内运行用户不是 `1000:1000`,请改为实际 UID/GID。
### 步骤5: 构建并启动Docker容器
```bash