3
0

IngressRoute.yaml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. apiVersion: traefik.io/v1alpha1
  2. kind: IngressRoute
  3. metadata:
  4. name: auction-bid.https
  5. spec:
  6. entryPoints:
  7. - websecure
  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. services:
  24. - name: auction-bid
  25. port: 80
  26. - kind: Rule
  27. match: >-
  28. Host(`dev.ahxpm.com`) && PathPrefix(`/bid`)
  29. middlewares:
  30. - name: auction-bid-strip
  31. - name: bid-cors-header
  32. - name: ahx-oidc.authn-app
  33. services:
  34. - name: auction-bid
  35. port: 80
  36. tls:
  37. secretName: dev.ahxpm.com