apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute metadata: name: coresvc.https spec: entryPoints: - websecure routes: - kind: Rule match: Host(`coresvc-dev.hobbystocks.cn`) services: - name: coresvc2 port: 80 - kind: Rule match: Host(`m2-dev.hobbystocks.cn`) && Path(`/coresvc/api/auth/daily`) middlewares: - name: poyee-app-v2-strip services: - name: coresvc2 port: 80 tls: secretName: coresvc-dev.hobbystocks.cn