feat: add wildcard subdomain routing for rSpace spaces
All registered spaces (e.g. demo.rtube-online.online) now route to this app at Traefik priority 100. Bare domain stays at priority 120. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7fd96d8df7
commit
801ec1fd01
|
|
@ -55,6 +55,11 @@ services:
|
|||
- "traefik.http.routers.rtube-hls.entrypoints=web,websecure"
|
||||
- "traefik.http.services.rtube-hls.loadbalancer.server.port=8080"
|
||||
- "traefik.docker.network=traefik-public"
|
||||
# Wildcard router: any space subdomain routes to this app
|
||||
- "traefik.http.routers.rtube-spaces.rule=HostRegexp(`{space:[a-z0-9-]+}.rtube.online`)"
|
||||
- "traefik.http.routers.rtube-spaces.priority=100"
|
||||
- "traefik.http.routers.rtube-spaces.entrypoints=web"
|
||||
- "traefik.http.routers.rtube-spaces.service=rtube"
|
||||
networks:
|
||||
- traefik-public
|
||||
- rtube-internal
|
||||
|
|
|
|||
Loading…
Reference in New Issue