blob: f472001617c814df4a708ada694dfe189ac0cbfb [file] [log] [blame]
server:
port: 5555
## logging
logging:
level:
root: INFO
org.springframework.web: INFO
org.springframework.cloud.gateway: INFO
com.supwisdom.infras.security: DEBUG
com.supwisdom.leaveschool: DEBUG
spring:
application:
name: sample-gateway
cloud:
gateway:
routes:
- id: sample-user
uri: http://localhost:10010
order: 10010
predicates:
- Path=/api/sample-user/**
filters:
- RewritePath=/(?<prefix>.*)/sample-user/(?<suffix>.*), /$\{prefix}/$\{suffix}
management.endpoints.web.exposure.include: '*'