Hi, pretty much, title. I'm currently doing this:
frontend:
labels:
- "traefik.http.routers.mci.rule=Host(`example.com`)"
- "traefik.http.routers.mci.tls=true"
- "traefik.http.routers.mci.priority=10"
- "traefik.http.routers.mci.tls.certresolver=lets-encrypt"
- "traefik.port=80"
api:
labels:
- "traefik.http.routers.mcib.rule=Host(`example.com`) && PathPrefix(`/api/`)"
- "traefik.http.routers.mcib.tls=true"
- "traefik.http.routers.mcib.priority=100"
- "traefik.http.routers.mcib.tls.certresolver=lets-encrypt"
- "traefik.port=80"
And currently, when I visit example.com/api/*
, it shows me a 404 page from my frontend. However, I want that to be from the API. How would I do that?