From b20fa5cfd8653e6bd632faa39d112aca348913ed Mon Sep 17 00:00:00 2001 From: poduck Date: Wed, 3 Dec 2025 16:59:45 -0500 Subject: [PATCH] fix(traefik): Update HostRegexp syntax for Traefik v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Traefik v3 changed HostRegexp syntax from named capture groups to standard regex. Added low priority to avoid matching specific routes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- smoothschedule/compose/production/traefik/traefik.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smoothschedule/compose/production/traefik/traefik.yml b/smoothschedule/compose/production/traefik/traefik.yml index 1016ed9..db26af3 100644 --- a/smoothschedule/compose/production/traefik/traefik.yml +++ b/smoothschedule/compose/production/traefik/traefik.yml @@ -100,7 +100,8 @@ http: # Uses DNS challenge for wildcard certificate (*.smoothschedule.com) # Routes to nginx which serves the frontend SPA and proxies /api/ to Django subdomain-router: - rule: 'HostRegexp(`{subdomain:[a-z0-9-]+}.smoothschedule.com`)' + rule: 'HostRegexp(`^[a-z0-9-]+\\.smoothschedule\\.com$`)' + priority: 1 entryPoints: - web-secure middlewares: