From 275a4faf9a0f32e957f5e81dc3082a74a98fc337 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Wed, 21 Jan 2026 12:30:46 +0100 Subject: [PATCH] Add worldplay.art domain support - Added worldplay.art and www.worldplay.art to Traefik router - Updated www redirect to point to worldplay.art Co-Authored-By: Claude Opus 4.5 --- docker-compose.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 01b479e..58ad386 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,17 +15,17 @@ services: labels: - "traefik.enable=true" - "traefik.docker.network=traefik-public" - # Main domain - - "traefik.http.routers.worldplay.rule=Host(`worldplay.jeffemmett.com`)" + # Main domains + - "traefik.http.routers.worldplay.rule=Host(`worldplay.jeffemmett.com`) || Host(`worldplay.art`) || Host(`www.worldplay.art`)" - "traefik.http.routers.worldplay.entrypoints=web" - "traefik.http.routers.worldplay.service=worldplay" - "traefik.http.services.worldplay.loadbalancer.server.port=3000" - # Optional: Add www subdomain redirect + # www subdomain redirect for jeffemmett.com - "traefik.http.routers.worldplay-www.rule=Host(`www.worldplay.jeffemmett.com`)" - "traefik.http.routers.worldplay-www.entrypoints=web" - "traefik.http.routers.worldplay-www.middlewares=worldplay-www-redirect" - "traefik.http.middlewares.worldplay-www-redirect.redirectregex.regex=^https://www\\.worldplay\\.jeffemmett\\.com/(.*)" - - "traefik.http.middlewares.worldplay-www-redirect.redirectregex.replacement=https://worldplay.jeffemmett.com/$${1}" + - "traefik.http.middlewares.worldplay-www-redirect.redirectregex.replacement=https://worldplay.art/$${1}" networks: - traefik-public healthcheck: