fix(vps): 加 TrustProxies、Redis 持久化 Volume、Log 改 daily #43

Merged
a620906209 merged 1 commits from fix/vps-stability into master 2026-06-17 15:44:48 +00:00
Owner
  • bootstrap/app.php: trustProxies(at: ['']) 讓 NPM 反向代理的 X-Forwarded- header 被信任
  • docker-compose.yml: Redis 加 redis-data volume,重啟後 session/queue/cache 不再清空
  • .env.example: LOG_STACK 改 daily + LOG_DAILY_DAYS=14,避免 VPS 磁碟被單一 log 吃滿

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

- bootstrap/app.php: trustProxies(at: ['*']) 讓 NPM 反向代理的 X-Forwarded-* header 被信任 - docker-compose.yml: Redis 加 redis-data volume,重啟後 session/queue/cache 不再清空 - .env.example: LOG_STACK 改 daily + LOG_DAILY_DAYS=14,避免 VPS 磁碟被單一 log 吃滿 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
a620906209 added 1 commit 2026-06-17 15:44:43 +00:00
fix(vps): 加 TrustProxies、Redis 持久化 Volume、Log 改 daily
Run Tests / test (pull_request) Successful in 2m15s
2fbcd0c50d
- bootstrap/app.php: trustProxies(at: ['*']) 讓 NPM 反向代理的 X-Forwarded-* header 被信任
- docker-compose.yml: Redis 加 redis-data volume,重啟後 session/queue/cache 不再清空
- .env.example: LOG_STACK 改 daily + LOG_DAILY_DAYS=14,避免 VPS 磁碟被單一 log 吃滿

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
a620906209 merged commit 5fdd5b3329 into master 2026-06-17 15:44:48 +00:00
a620906209 deleted branch fix/vps-stability 2026-06-17 15:44:48 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: a620906209/CFDivePlatform#43