Now the traefik rule config like this:
spec:
entryPoints:
- web
routes:
- kind: Rule
match: Host(`tex.demo.top`) && PathPrefix(`/tex`)
middlewares:
- name: jwt-token-auth
priority: 2
services:
- name: tex-service
port: 8000
- kind: Rule
match: Host(`tex.demo.top`) && (PathPrefix(`/texpub`))
middlewares:
- name: jwt-token-auth
priority: 4
services:
- name: dolphin-post-service
port: 11014
the whole configuration will listen to the host tex.demo.top, is it possible to merge the host condition in one place?