application-dev.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. server:
  2. port: 8010
  3. spring:
  4. application:
  5. name: gateway
  6. cloud:
  7. gateway:
  8. enabled: true
  9. routes:
  10. - id: admin
  11. uri: http://127.0.0.1:8090
  12. predicates:
  13. - Path=/admin/**
  14. filters:
  15. - StripPrefix=1
  16. - id: video
  17. uri: http://127.0.0.1:8096
  18. predicates:
  19. - Path=/video/**
  20. filters:
  21. - StripPrefix=1
  22. - id: produce
  23. uri: http://127.0.0.1:8094
  24. predicates:
  25. - Path=/produce/**
  26. filters:
  27. - StripPrefix=1
  28. - id: env
  29. uri: http://127.0.0.1:8092
  30. predicates:
  31. - Path=/env/**
  32. filters:
  33. - StripPrefix=1
  34. - id: receiver
  35. uri: http://127.0.0.1:8098
  36. predicates:
  37. - Path=/receiver/**
  38. filters:
  39. - StripPrefix=1
  40. - id: eartag
  41. uri: http://127.0.0.1:8093
  42. predicates:
  43. - Path=/eartag/**
  44. filters:
  45. - StripPrefix=1
  46. logging:
  47. level:
  48. org.springframework.cloud.gateway: debug # Gateway调试模式