From 9b9cfd17f8c8d9da030badc0f18302fe425f15a4 Mon Sep 17 00:00:00 2001 From: Yax <1949284+kianby@users.noreply.github.com> Date: Sun, 28 Jun 2020 12:51:37 +0200 Subject: [PATCH] labels not env --- traefik/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/traefik/docker-compose.yml b/traefik/docker-compose.yml index 7dfb49d..1057dcb 100644 --- a/traefik/docker-compose.yml +++ b/traefik/docker-compose.yml @@ -13,7 +13,7 @@ services: - --certificatesresolvers.letsencrypt.acme.email=${LETSENCRYPT_EMAIL} - --certificatesresolvers.letsencrypt.acme.storage=/acme.json - --certificatesresolvers.letsencrypt.acme.tlschallenge=true - environment: + labels: # middleware redirect - traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https # global redirect to https