spring: redis: host: ${REDIS_HOST:localhost} port: ${REDIS_PORT:6379} application: name: his-proxy cloud: nacos: discovery: server-addr: ${NACOS_SERVER:localhost}:${NACOS_PORT:8848} username: ${NACOS_USERNAME:config} password: ${NACOS_PASSWORD:cfg123456} config: server-addr: ${NACOS_SERVER:localhost}:${NACOS_PORT:8848} file-extension: yaml username: ${NACOS_USERNAME:config} password: ${NACOS_PASSWORD:cfg123456} config: import: "nacos:${spring.application.name}-${spring.profiles.active}.yaml?group=DEFAULT_GROUP&data-type=yaml" profiles: active: ${SPRING_PROFILES_ACTIVE:dev} server: port: ${PORT:8201} undertow: buffer-size: 1024 direct-buffers: true threads: io: 8 worker: 256 servlet: encoding: charset: UTF-8 enabled: true