Skip to content

Commit

Permalink
removed the redirect to see if it is the cause of our routing trouble
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed May 10, 2024
1 parent 6707086 commit 45f7d04
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 45f7d04

Please sign in to comment.