From 45f7d04dc2bfa9010c9b1bcfe1c222b13aaf3b39 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Fri, 10 May 2024 13:33:52 +0200 Subject: [PATCH] removed the redirect to see if it is the cause of our routing trouble --- docker-compose.yml | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index d2f297f22..e0c6c18d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -173,28 +173,6 @@ services: retries: 5 interval: 10s start_period: 10s - redirect: - image: traefik/whoami - restart: unless-stopped - labels: - - "traefik.enable=true" - - "traefik.http.routers.navigatum-redirect-unsecure.entrypoints=web" - - "traefik.http.routers.navigatum-redirect-unsecure.rule=Host(`nav.tum.sexy`) || Host(`www.nav.tum.de`) || Host(`nav.tum.de`)" - - "traefik.http.routers.navigatum-redirect-unsecure.middlewares=navigatum-webs-redirectscheme" - - "traefik.http.middlewares.navigatum-webs-redirectscheme.redirectscheme.scheme=https" - - "traefik.http.middlewares.navigatum-webs-redirectscheme.redirectscheme.permanent=true" - - "traefik.http.routers.navigatum-webs-redirectscheme.service=noop@internal" - - - "traefik.http.routers.navigatum-redirect.entrypoints=webs" - - "traefik.http.routers.navigatum-redirect.tls.certresolver=leacme" - - "traefik.http.routers.navigatum-redirect.rule=Host(`nav.tum.sexy`) || Host(`www.nav.tum.de`)" - - "traefik.http.routers.navigatum-redirect.middlewares=navigatum-redirectregex@docker" - - "traefik.http.routers.navigatum-redirect.service=noop@internal" - - "traefik.http.middlewares.navigatum-redirectregex.redirectregex.regex=^(https?://.*)nav.tum.(app|sexy)/(.*)$$" - - "traefik.http.middlewares.navigatum-redirectregex.redirectregex.replacement=$${1}nav.tum.de/$${3}" - - "traefik.http.middlewares.navigatum-redirectregex.redirectregex.permanent=true" - networks: - - traefik_traefik volumes: tileserver-src: