兼容开放导入未签名请求

This commit is contained in:
yml2213
2026-06-11 07:32:11 +08:00
parent 88b1df64e7
commit 7130135e23
5 changed files with 37 additions and 17 deletions
+3 -2
View File
@@ -62,7 +62,8 @@ REALNAME_CLOUDMARKET_APPCODE=
# 警告:此密钥一旦设置不要更改,否则已有配置无法解密
PAYMENT_CONFIG_ENCRYPTION_KEY=change-to-32-byte-encryption-key
# 开放导入接口签名密钥,生产环境必填;生成方式:openssl rand -hex 32
EXTERNAL_UPLOAD_SECRET=change-to-a-long-random-upload-secret
# 开放导入接口可选签名密钥;内部调用方暂不签名时可留空。
# 若启用签名,生成方式:openssl rand -hex 32
EXTERNAL_UPLOAD_SECRET=
# 可选:逗号分隔的 IP 或 CIDR 白名单,例如 203.0.113.10,10.0.0.0/8。
EXTERNAL_UPLOAD_ALLOWED_IPS=