diff --git a/docker-compose.yml b/docker-compose.yml index e1f7572..1e2d383 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -52,13 +52,14 @@ services: restart: unless-stopped labels: - "traefik.enable=true" - - "traefik.http.routers.homer.entrypoints=websecure" + - "traefik.http.routers.domain.entrypoints=websecure" - "traefik.http.routers.domain.rule=Host(`pukeko.xyz`)" - "traefik.http.routers.domain.service=noop@internal" - - "traefik.http.routers.domain.middlewares=pukeko-redirect" - - 'traefik.http.middlewares.pukeko-redirect.redirectregex.regex=^http://pukeko.xyz/(.*)' - - 'traefik.http.middlewares.pukeko-redirect.redirectregex.replacement=http://dash.pukeko.xyz/$${1}' - - "traefik.http.middlewares.pukeko-redirect.redirectregex.permanent=true" + - "traefik.http.routers.domain.tls.certresolver=pukekoresolver" + - "traefik.http.routers.domain.middlewares=domain" + - 'traefik.http.middlewares.domain.redirectregex.regex=^https://pukeko.xyz/(.*)' + - 'traefik.http.middlewares.domain.redirectregex.replacement=https://dash.pukeko.xyz/$${1}' + - "traefik.http.middlewares.domain.redirectregex.permanent=true" homer: image: b4bz/homer container_name: homer