services/templates/traefik/dynamic_dashboard.yaml

8 lines
190 B
YAML

---
http:
routers:
dashboard:
entryPoints:
- "https"
rule: "Host(`${ROOT_DOMAIN}`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
service: "api@internal"