需要在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