如何在 Traefik V3 中使用 Docker 标签匹配所有子域名
这将匹配 mydomain.com 的所有子域名,包括 mydomain.com 本身:
traefik_labels.yaml
- 'traefik.http.routers.myservice.rule=HostRegexp(`([a-zA-Z0-9\-]+\.)?mydomain\.com`)'Check out similar posts by category:
Traefik
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow