Skip to content

Commit

Permalink
moved the https redirect upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Jul 14, 2024
1 parent 979b3ed commit 7e141c7
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ services:

labels:
- "traefik.enable=true"
- "traefik.http.routers.tumsexy.entrypoints=web"
- "traefik.http.routers.tumsexy.entrypoints=webs"
- "traefik.http.routers.tumsexy.tls.domains[0].main=tum.sexy"
- "traefik.http.routers.tumsexy.tls.domains[0].sans=*.tum.sexy"
- "traefik.http.routers.tumsexy.tls.certresolver=sexyresolver"
- "traefik.http.routers.tumsexy.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\\-]+}.tum.sexy`)"
- "traefik.http.routers.tumsexy.middlewares=webs-redirectscheme"

- "traefik.http.routers.tumsexy-secure.entrypoints=webs"
- "traefik.http.routers.tumsexy-secure.tls.domains[0].main=tum.sexy"
- "traefik.http.routers.tumsexy-secure.tls.domains[0].sans=*.tum.sexy"
- "traefik.http.routers.tumsexy-secure.tls.certresolver=sexyresolver"
- "traefik.http.routers.tumsexy-secure.rule=Host(`tum.sexy`) || HostRegexp(`tum.sexy`, `{subdomain:[a-z0-9\\-]+}.tum.sexy`)"
- "traefik.http.services.tumsexy-secure.loadbalancer.server.port=80"
- "traefik.http.services.tumsexy.loadbalancer.server.port=80"
healthcheck:
test: wget -q --spider http://localhost:80/img/pin-material.svg
retries: 5
Expand Down

0 comments on commit 7e141c7

Please sign in to comment.