| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: community.https
- spec:
- entryPoints:
- - websecure
- routes:
- - kind: Rule
- match: Host(`m2-dev.hobbystocks.cn`) && (Path(`/community/app/discuss`,`/community/app/comment`, `/community/app/user`, `/community/app/discuss/share`, `/community/app/discuss/detail`) || PathPrefix(`/community/app/discuss`))
- middlewares:
- - name: community-cors-header
- - name: community-strip
- - name: coresvc-jwt-token-v2-verify
- - name: coresvc-forward-geo
- services:
- - name: community
- port: 80
- - kind: Rule
- match: Host(`m2-dev.hobbystocks.cn`) && (Path(`/community/app/search`, `/community/app/discuss-count`,`/community/app/discuss/update_score`,`/community/app/discuss/audit`, `/community/sys/comment/audit`,`/community/sys/comment/paging`, `/community/app/comment/paging`, `/community/app/user/{ver:info|refresh}`) || PathPrefix(`/community/app/associate_team`, `/community/app/like`,`/community/app/collect`, `/community/app/follow`, `/community/app/tag`, `/community/app/uninterested`))
- middlewares:
- - name: community-cors-header
- - name: community-strip
- - name: coresvc-jwt-token-v2-verify
- services:
- - name: community
- port: 80
- - kind: Rule
- match: Host(`m2-dev.hobbystocks.cn`) && Path(`/community/app/discuss/paging`,`/community/app/discuss/detail`)
- middlewares:
- - name: community-cors-header
- - name: community-strip
- - name: coresvc-jwt-token-v2-verify-optional
- services:
- - name: community
- port: 80
- - kind: Rule
- match: Host(`m2-dev.hobbystocks.cn`) && (PathPrefix(`/community/doc`) || PathPrefix(`/community/static`)|| PathPrefix(`/community/webjars/`)|| PathPrefix(`/community/v3/api-docs/`))
- middlewares:
- - name: community-strip
- services:
- - name: community
- port: 80
- tls:
- secretName: m2-dev.hobbystocks.cn
- ---
- apiVersion: traefik.containo.us/v1alpha1
- kind: IngressRoute
- metadata:
- name: community.http
- spec:
- entryPoints:
- - web
- routes:
- - kind: Rule
- match: Host(`community-dev.local`) && Path(`/player.dic`)
- services:
- - name: community
- port: 80
|