3
0

IngressRoute.yaml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. apiVersion: traefik.io/v1alpha1
  2. kind: IngressRoute
  3. metadata:
  4. name: http.auction-bid
  5. spec:
  6. entryPoints:
  7. - web
  8. routes:
  9. - kind: Rule
  10. match: Host(`dev.ahxpm.com`) && (Path(`/bid/doc.html`) || PathPrefix(`/bid/webjars`) || PathPrefix(`/bid/swagger-resources`) || PathPrefix(`/bid/v2/api-docs`) || PathPrefix(`/bid/v3/api-docs`))
  11. middlewares:
  12. - name: auction-bid-strip
  13. - name: bid-cors-header
  14. services:
  15. - name: auction-bid
  16. port: 80
  17. - kind: Rule
  18. match: >-
  19. Host(`dev.ahxpm.com`) && (Path(`/bid/bid/bidding/addPrice`) || Path(`/bid/auction/banner/list`) || Path(`/bid/lot/hot/list`) || Path(`/bid/lot/list/search`) || Path(`/bid/lot/category/query`) || Path(`/bid/auction/details`) || PathPrefix(`/bid/lot/detail/`) || Path(`/bid/lot/notice/list`) || PathPrefix(`/bid/lot/notice/detail/`))
  20. middlewares:
  21. - name: auction-bid-strip
  22. - name: bid-cors-header
  23. - name: ahx-oidc.authn-optional-app
  24. services:
  25. - name: auction-bid
  26. port: 80
  27. - kind: Rule
  28. match: >-
  29. Host(`dev.ahxpm.com`) && PathPrefix(`/bid`)
  30. middlewares:
  31. - name: auction-bid-strip
  32. - name: bid-cors-header
  33. - name: ahx-oidc.authn-app
  34. services:
  35. - name: auction-bid
  36. port: 80