spring: cloud: gateway: routes: # - id: test_route # uri: https://www.baidu.com # predicates: # - Query=url,baidu # # - id: qq_route # uri: https://www.qq.com # predicates: # - Query=url,qq # - id: hrms_route uri: lb://dq-financial-hrms predicates: - Path=/api/hrms/** filters: - RewritePath=/api/(?.*),/ $\{segment} - - id: crms_auth uri: lb://dq-financial-crms predicates: - Path=/crms/** filters: - RewritePath=/crms/(?.*),/ $\{segment} redis: host: port: password: database: 1 timeout: 60s