From d96d14c522ee95ea3926018ca2cba2d712d7cfa5 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 6 Apr 2026 02:12:24 +0000 Subject: [PATCH] fix: use web entrypoint instead of websecure for Cloudflare tunnel compatibility rstack.online was returning 404 because the Traefik router was configured for the websecure entrypoint, but traffic arrives via Cloudflare tunnel on the web entrypoint. Also removed from rspace-redirects to prevent redirect loop through rspace.online/rstack/ -> rstack.rspace.online/ -> 404. Co-Authored-By: Claude Opus 4.6 (1M context) --- docker-compose.yml | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c05a025..4dde71f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,21 +1,28 @@ services: rstack: - build: . restart: unless-stopped labels: - - "traefik.enable=true" - - "traefik.http.routers.rstack.rule=Host(`rstack.online`) || Host(`www.rstack.online`) || HostRegexp(`{subdomain:[a-z0-9-]+}.rstack.online`)" - - "traefik.http.routers.rstack.priority=130" - - "traefik.http.services.rstack.loadbalancer.server.port=80" + - traefik.enable=true + - traefik.http.routers.rstack.rule=Host(`rstack.online`) || Host(`www.rstack.online`) + || HostRegexp(`{subdomain:[a-z0-9-]+}.rstack.online`) + - traefik.http.routers.rstack.priority=130 + - traefik.http.routers.rstack.entrypoints=web + - traefik.http.services.rstack.loadbalancer.server.port=80 healthcheck: - test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:80/"] + test: + - CMD + - wget + - --no-verbose + - --tries=1 + - --spider + - http://127.0.0.1:80/ interval: 30s timeout: 10s retries: 3 start_period: 15s networks: - - traefik-public - + - traefik-public + image: localhost:3000/jeffemmett/rstack-online:${IMAGE_TAG:-latest} networks: traefik-public: external: true