seninel部署
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.

23 line
552B

  1. server:
  2. port: 8090
  3. spring:
  4. application:
  5. name: spring-cloud-gateway
  6. cloud:
  7. gateway:
  8. enabled: true
  9. discovery:
  10. locator:
  11. lower-case-service-id: true
  12. routes:
  13. # Add your routes here.
  14. - id: aliyun_route
  15. uri: https://www.aliyun.com/
  16. predicates:
  17. - Path=/product/**
  18. - id: httpbin_route
  19. uri: https://httpbin.org
  20. predicates:
  21. - Path=/httpbin/**
  22. filters:
  23. - RewritePath=/httpbin/(?<segment>.*), /$\{segment}