This commit is contained in:
2026-09-14 11:42:39 +08:00
parent 148d5bdd51
commit 97c24f58c7
5 changed files with 8 additions and 67 deletions
-4
View File
@@ -129,10 +129,6 @@ CAPTCHA_NOISE_DOTS=30
# CORS允许的源 - 逗号分隔,如 http://localhost:8001,https://admin.example.com
CORS_ALLOWED_ORIGINS=http://localhost:8001
# 可信代理层数 - 0=不信任X-Forwarded-For;仅部署在Nginx等反代后才设>=1
TRUSTED_PROXY_COUNT=1
# 可信代理IP白名单(逗号分隔)- nginx同机部署填127.0.0.1;有CDN且动态边缘IP填0.0.0.0
TRUSTED_PROXY_IPS=127.0.0.1
# ============================================================
# 邮件配置