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.
32 lines
994 B
32 lines
994 B
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//localhost:8080/api |
|
# |
|
- id: crms_route |
|
uri: http://localhost:8000/dq-financial-crms |
|
predicates: |
|
- Path=/api-crms/** |
|
filters: |
|
- RewritePath=/api-crms/(?<segment>.*), /$\{segment} |
|
- id: hrms_route |
|
uri: http://localhost:7000/dq-financial-hrms |
|
predicates: |
|
- Path=/api-hrms/** |
|
filters: |
|
- RewritePath=/api-hrms/(?<segment>.*), /$\{segment} |
|
- id: hrms_auth_route |
|
uri: http://localhost:9000/dq-financial-hrms-auth #lb://dq-financial-hrms-auth |
|
predicates: |
|
- Path=/apiHrmsAuth/** |
|
filters: |
|
- RewritePath=/apiHrmsAuth/(?<segment>.*), /$\{segment} |