升级说明 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. 需要在nacos
  2. soc-gateway-dev.yml 配置文件添加配置
  3. # 防止XSS攻击
  4. xss:
  5. enabled: true
  6. excludeUrls:
  7. - /system/notice
  8. - /system/config
  9. 需要在nacos
  10. soc-gateway-dev.yml 配置文件添加配置
  11. security:
  12. ignore:
  13. whites:
  14. - /system/version/checkUpdate
  15. - /file/file/getFile/*
  16. soc-gateway-dev.yml 修改以下配置
  17. spring:
  18. servlet:
  19. multipart:
  20. max-file-size: 200MB
  21. nacos配置中心file模块修改配置说明,
  22. soc-file-dev.yml 修改以下配置
  23. spring:
  24. servlet:
  25. multipart:
  26. max-file-size: 200MB
  27. max-request-size: 200MB
  28. 数据库链接信息增加参数 &allowMultiQueries=true&rewriteBatchedStatements=true&connectTimeout=30000&autoReconnect=true&failOverReadOnly=false
  29. 例:url: jdbc:mysql://10.87.21.108:3306/soc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&allowMultiQueries=true&rewriteBatchedStatements=true&connectTimeout=30000&autoReconnect=true&failOverReadOnly=false