application.yml 661 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. server:
  2. port: 8080
  3. eureka:
  4. client:
  5. service-url:
  6. defaultZone: http://localhost:8801/eureka/
  7. spring:
  8. application:
  9. name: api-gateway
  10. zuul:
  11. routes:
  12. #auth-service
  13. auth:
  14. path: /auth/**
  15. serviceId: auth-service
  16. strip-prefix: false
  17. #goods-service
  18. goods:
  19. path: /goods/**
  20. serviceId: goods-service
  21. strip-prefix: false
  22. index:
  23. path: /index/**
  24. serviceId: goods-service
  25. strip-prefix: false
  26. catalog:
  27. path: /catalog/**
  28. serviceId: goods-service
  29. strip-prefix: false
  30. search:
  31. path: /search/**
  32. serviceId: goods-service
  33. strip-prefix: false