| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- server:
- port: 8880 #端口
- spring:
- cloud:
- nacos:
- discovery:
- register-enabled: true
- server-addr: nacos-server-hostname:8848
- username: nacos-prod
- password: centralprod
- namespace: a894fba3-ee6e-4dc7-938b-ad11112ccfa9
- circuitbreaker:
- sentinel:
- enabled: true
- sentinel:
- enabled: true
- transport:
- dashboard: sentinel-hostname:8858
- port: 8719
- gateway:
- routes:
- - id: ping
- uri: file:///dev/null
- predicates:
- - Path=/ping
- filters:
- - SetStatus=200
- - id: central-auth
- uri: lb://central-auth
- predicates:
- - Path=/central/auth/**,/api/central/auth/**
- - id: central-conf
- uri: lb://central-conf
- predicates:
- - Path=/api/central/conf/**
- - id: central-event
- uri: lb://central-event
- predicates:
- - Path=/central/event/**,/api/central/event/**
- - id: central-open
- uri: lb://central-open
- predicates:
- - Path=/central/open/**
- - id: central-pay
- uri: lb://central-pay
- predicates:
- - Path=/central/pay/**,/api/central/pay/**
- - id: central-promotion
- uri: lb://central-promotion
- predicates:
- - Path=/central/promotion/**,/api/central/promotion/**
- - id: central-security
- uri: lb://central-security
- predicates:
- - Path=/central/security/**,/api/central/security/**
- - id: central-user
- uri: lb://central-user
- predicates:
- - Path=/central/user/**,/api/central/user/**
- - id: central-value
- uri: lb://central-value
- predicates:
- - Path=/central/value/**,/api/central/value/**
- - id: central-admin
- uri: lb://central-admin
- predicates:
- - Path=/central/admin/**
- - id: central-advertisement
- uri: lb://central-advertisement
- predicates:
- - Path=/central/advertisement/**,/api/central/advertisement/**
- ### projects
- - id: project-voice
- uri: lb://project-voice
- predicates:
- - Path=/project/voice/**
- # 日志配置
- logging:
- level:
- root: error
- com:
- atmob:
- cloud:
- gateway:
- service: info
- central:
- remote:
- clients:
|