短信发送失败增加冷却防连点限流并配置trust proxy恢复真实客户端IP

This commit is contained in:
yml2213
2026-08-22 19:10:06 +08:00
parent 7e1c879c41
commit 90ff15b627
10 changed files with 59 additions and 0 deletions
+2
View File
@@ -7,6 +7,8 @@ CADDY_SITE_ADDR=https://order.khhao.com
WORKER_SITE_ADDR=https://worker.khhao.com
TZ=Asia/Shanghai
BACKEND_PORT=3000
# 反向代理层数:Caddy 后保持 1(默认),后端直连暴露时设为 false
HTTP_TRUST_PROXY=1
# 构建镜像源(可选,默认阿里云公共源)
# 阿里云 ECS 同地域内网可改为 mirrors.cloud.aliyuncs.com 加速 apt/apk