- JwtProperties.adminSecret/appSecret 默认值从 dev 密钥改为空字符串 - MediaProperties.signatureSecret 默认值从 dev 密钥改为空字符串 - app-api/admin-api application.yml 三处密钥回退值均改为空 - docker-compose.yml CORS_ALLOWED_ORIGINS 追加 ymb-site 3007 端口白名单 - .gitignore 追加 *.secrets.env / SSL 证书 / nginx 部署目录忽略规则
This commit is contained in:
1 parent
a706621786
commit
a5c9357a24
6 files changed
+27
-15
No files matched your search
+1
-1
@@ -80,7 +80,7 @@ services:
|
||||
REDIS_PORT: ${REDIS_PORT:-6379}
|
||||
# CORS:公网入口 nginx 把 SSL 跑在 80 端口上(腾讯云安全组只放 80),
|
||||
# 浏览器 fetch 带 Origin 时端口不匹配会被 Spring CORS 拒(必须精确字符串匹配)。
|
||||
CORS_ALLOWED_ORIGINS: "https://api.frostgiant.vip:80,https://api.frostgiant.vip,http://api.frostgiant.vip,https://39.162.50.99:8081,http://localhost:3005,http://127.0.0.1:3005"
|
||||
CORS_ALLOWED_ORIGINS: "https://api.frostgiant.vip:80,https://api.frostgiant.vip,http://api.frostgiant.vip,https://39.162.50.99:8081,http://localhost:3005,http://127.0.0.1:3005,http://39.162.50.99:3007,http://192.168.31.250:3007"
|
||||
ports:
|
||||
- "8081:8081"
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user