Skip to content

Commit

Permalink
tested if the redirectscheme middleware has to be defined locally
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Mar 18, 2024
1 parent 2557df5 commit 2509491
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ services:
- "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=webs-redirectscheme"
- "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-redirect.entrypoints=webs"
- "traefik.http.routers.navigatum-redirect.tls.certresolver=leacme"
Expand Down

0 comments on commit 2509491

Please sign in to comment.