| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- spring:
- redis:
- database: 2
- sentinel:
- nodes:
- - "redis://10.87.21.157:26379"
- - "redis://10.87.21.158:26379"
- - "redis://10.87.21.159:26379"
- master: mymaster
- password: Xunmeizongmu_2019
- autoconfigure:
- exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
- mvc:
- pathmatch:
- matching-strategy: ant_path_matcher
- servlet:
- multipart:
- max-file-size: 20MB
- # feign 配置
- feign:
- sentinel:
- enabled: true
- okhttp:
- enabled: true
- httpclient:
- enabled: false
- client:
- config:
- default:
- connectTimeout: 10000
- readTimeout: 10000
- compression:
- request:
- enabled: true
- response:
- enabled: true
- # 暴露监控端点
- management:
- endpoints:
- web:
- exposure:
- include: '*'
- fjnx:
- host:
- systemCode:
- passIP:
- passPort:
- appCode:
- secretName:
- jwt:
- secretKey: zbcdefghijklmnopqrstuvwxyz
- issuer: xunmei.com
- websocket:
- # 如果关闭 需要和前端开关一起关闭
- enabled: true
- # 路径
- path: /websocket
- # 设置访问源地址
- allowedOrigins: '*'
|