kuaifan 20c3fa91fb refactor(https): 协议识别下沉到 nginx,TrustProxies 只信 X-Forwarded-Proto
- nginx 经 APP_SCHEME 环境变量(envsubst 模板)统一控制 X-Forwarded-Proto
- TrustProxies 信任内网代理但仅采信 X-Forwarded-Proto,防 Host 注入
- 移除 WebApi 中间件的硬编码强制 https
- getSchemeAndHost 优先用当前请求 scheme/host,保留非请求上下文兜底
- cmd https 切换后改用 compose up -d 重建 nginx 容器使 envsubst 生效

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-06 01:52:38 +00:00
..
2023-03-24 09:08:53 +08:00
2025-07-31 14:26:06 +08:00
2021-05-29 17:11:41 +08:00
2024-11-18 13:33:32 +08:00
2023-03-24 09:08:53 +08:00
2022-02-28 00:21:48 +08:00
2025-07-31 15:27:17 +08:00
2025-07-31 15:27:17 +08:00
2025-07-26 15:14:15 +08:00
2024-05-10 22:23:45 +09:00
2025-06-17 00:17:04 +08:00
2025-02-24 09:12:12 +08:00
2023-03-24 09:08:53 +08:00
2024-11-12 19:52:12 +08:00
2024-09-22 00:43:48 +03:00