blob: f472001617c814df4a708ada694dfe189ac0cbfb [file] [log] [blame]
刘洪青f6b66112018-08-02 15:42:43 +08001server:
2 port: 5555
3
4## logging
5logging:
6 level:
7 root: INFO
8 org.springframework.web: INFO
9 org.springframework.cloud.gateway: INFO
10 com.supwisdom.infras.security: DEBUG
11 com.supwisdom.leaveschool: DEBUG
12
13spring:
14 application:
15 name: sample-gateway
16 cloud:
17 gateway:
18 routes:
19 - id: sample-user
20 uri: http://localhost:10010
21 order: 10010
22 predicates:
23 - Path=/api/sample-user/**
24 filters:
25 - RewritePath=/(?<prefix>.*)/sample-user/(?<suffix>.*), /$\{prefix}/$\{suffix}
26
27management.endpoints.web.exposure.include: '*'