Skip to content

Commit

Permalink
tested a different docker image and if traefik is happyer with servin…
Browse files Browse the repository at this point in the history
…g redirects via it
  • Loading branch information
CommanderStorm committed Mar 10, 2024
1 parent 6ffdc86 commit 181f819
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ services:
interval: 10s
start_period: 10s
redirect:
image: alpine:latest
image: traefik/whoami
restart: always
labels:
- "traefik.enable=true"
Expand All @@ -169,7 +169,6 @@ services:
- "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"
command: sh -c 'while sleep 3600; do :; done'

volumes:
db-data:
Expand Down

0 comments on commit 181f819

Please sign in to comment.