You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1020 B

spring:
redis:
host: 127.0.0.1
password: ''
port: 6379
cloud:
gateway:
discovery:
locator:
enabled: true
globalcors:
cors-configurations:
'[/**]':
allowCredentials: true
allowedOrigins: "*"
allowedMethods: "*"
allowedHeaders: "*"
routes:
- id: jeecg-demo
uri: lb://jeecg-demo
predicates:
- Path=/test/**,/api/**,/bigscreen/template1/**,/bigscreen/template2/**
- id: jeecg-system
uri: lb://jeecg-system
predicates:
- Path=/sys/**,/oss/file/**,/webSocketApi/**,/online/**,/message/**
- id: jeecg-system-websocket
uri: lb:ws://jeecg-system
predicates:
- Path=/websocket/**
- id: jeecg-demo-websocket
uri: lb:ws://jeecg-demo
predicates:
- Path=/vxeSocket/**
management:
endpoints:
web:
exposure:
include: metrics,httptrace