From c58262c3c80f1646c41e29351be426b1ad5c3fe7 Mon Sep 17 00:00:00 2001 From: kekskurse Date: Fri, 21 Jul 2023 03:33:35 +0200 Subject: [PATCH] move --- debian12-docker/templates/traefic-docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian12-docker/templates/traefic-docker-compose.yml b/debian12-docker/templates/traefic-docker-compose.yml index d73d4ff..7e2ae3e 100644 --- a/debian12-docker/templates/traefic-docker-compose.yml +++ b/debian12-docker/templates/traefic-docker-compose.yml @@ -11,6 +11,8 @@ services: - "--providers.docker=true" - "--providers.docker.exposedbydefault=false" - "--entrypoints.web.address=:80" + - "--entrypoints.web.http.redirections.entrypoint.to=websecure" + - "--entrypoints.web.http.redirections.entrypoint.scheme=https" - "--entrypoints.websecure.address=:443" - "--certificatesresolvers.myresolver.acme.httpchallenge=true" - "--certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web"