This commit is contained in:
2026-09-14 10:18:47 +08:00
parent c68c9f88d4
commit 8cf532b015
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -137,7 +137,9 @@ CAPTCHA_NOISE_DOTS=30
CORS_ALLOWED_ORIGINS=http://localhost:8001
# 可信代理层数 - 0=不信任X-Forwarded-For,>=1 表示在反向代理后
TRUSTED_PROXY_COUNT=0
TRUSTED_PROXY_COUNT=1
# 可信代理IP白名单 - nginx同机部署,信任本机回环地址
TRUSTED_PROXY_IPS=127.0.0.1
# ============================================================