| 1234567891011121314151617181920212223242526272829303132 |
- 需要在nacos
- soc-gateway-dev.yml 配置文件添加配置
- # 防止XSS攻击
- xss:
- enabled: true
- excludeUrls:
- - /system/notice
- - /system/config
- 需要在nacos
- soc-gateway-dev.yml 配置文件添加配置
- security:
- ignore:
- whites:
- - /system/version/checkUpdate
- - /file/file/getFile/*
- soc-gateway-dev.yml 修改以下配置
- spring:
- servlet:
- multipart:
- max-file-size: 200MB
- nacos配置中心file模块修改配置说明,
- soc-file-dev.yml 修改以下配置
- spring:
- servlet:
- multipart:
- max-file-size: 200MB
- max-request-size: 200MB
- 数据库链接信息增加参数 &allowMultiQueries=true&rewriteBatchedStatements=true&connectTimeout=30000&autoReconnect=true&failOverReadOnly=false
- 例: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
|