# Tomcat server: max-http-header-size: 4048576 port: 9218 tomcat: max-http-form-post-size: -1 # Spring spring: application: # 应用名称 name: intc-invest profiles: # 环境配置 active: dev banner: charset: UTF-8 location: classpath:banner.txt servlet: multipart: enabled: true max-file-size: -1 max-request-size: -1 cloud: nacos: discovery: namespace: intc username: nacos password: ZmNDMacAng # 配置中心地址 server-addr: 172.16.0.4:8858 group: intc # ip: 117.72.197.29 config: namespace: intc username: nacos password: ZmNDMacAng # 配置中心地址 server-addr: 172.16.0.4:8858 # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} # 用于服务监控可在线查看日志,该配置用于生产环境 logging: file: name: logs/${spring.application.name}/info.log