conf.yml 401 B

12345678910111213141516171819
  1. # http routing section
  2. http:
  3. routers:
  4. # Define a connection between requests and services
  5. pub:
  6. rule: "PathPrefix(`/pub`)"
  7. service: pubService
  8. services:
  9. pubService:
  10. loadBalancer:
  11. healthCheck:
  12. path: /ping
  13. interval: "1s"
  14. timeout: "3s"
  15. servers:
  16. - url: http://127.0.0.1:9051
  17. - url: http://127.0.0.1:8051