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: