| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- apiVersion: traefik.io/v1alpha1
- kind: IngressRoute
- metadata:
- name: http.auction-bid
- spec:
- entryPoints:
- - web
- routes:
- - kind: Rule
- 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`))
- middlewares:
- - name: auction-bid-strip
- - name: bid-cors-header
- services:
- - name: auction-bid
- port: 80
- - kind: Rule
- match: >-
- 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/`))
- middlewares:
- - name: auction-bid-strip
- - name: bid-cors-header
- - name: ahx-oidc.authn-optional-app
- services:
- - name: auction-bid
- port: 80
- - kind: Rule
- match: >-
- Host(`dev.ahxpm.com`) && PathPrefix(`/bid/ws/lot/`)
- middlewares:
- - name: auction-bid-strip
- - name: bid-cors-header
- - name: ahx-oidc.authn-optional-app
- services:
- - name: auction-bid
- port: 80
-
- - kind: Rule
- match: >-
- Host(`dev.ahxpm.com`) && PathPrefix(`/bid`)
- middlewares:
- - name: auction-bid-strip
- - name: bid-cors-header
- - name: ahx-oidc.authn-app
- services:
- - name: auction-bid
- port: 80
|