apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: group-report.https spec: entryPoints: - websecure routes: - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/group-report/doc.html`) middlewares: - name: group-report-strip - name: group-report-cors-header services: - name: group-report port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/group-report/webjars`) middlewares: - name: group-report-strip - name: group-report-cors-header services: - name: group-report port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/group-report/swagger-resources`) middlewares: - name: group-report-strip - name: group-report-cors-header services: - name: group-report port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/group-report/v2/api-docs`) middlewares: - name: group-report-strip - name: group-report-cors-header services: - name: group-report port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/group-report`) middlewares: - name: group-report-strip - name: group-report-cors-header - name: coresvc-jwt-token-v2-verify services: - name: group-report port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && Path(`/group-report/api/v1/checklistBaseInfo/query`) middlewares: - name: group-report-strip - name: group-report-cors-header - name: coresvc-jwt-token-v2-verify services: - name: group-report port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && PathPrefix(`/group-report/api/i18n`, `/group-report/local`, `/group-report/api/v1/checklist`) middlewares: - name: group-report-strip - name: group-report-cors-header - name: coresvc-jwt-token-v3-verify services: - name: group-report port: 80 tls: secretName: m2-dev.hobbystocks.cn