From 1d59af74919dbac15887d00a6918e8b7260c6821 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 16 Jun 2020 21:34:48 +0200 Subject: [PATCH] root: fix docker-compose not correctly redirecting to https --- docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 95abb6381..a9a6aba8b 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -67,13 +67,13 @@ services: - traefik.docker.network=internal traefik: image: traefik:1.7 - command: --api --docker + command: --api --docker --defaultentrypoints=https --entryPoints='Name:http Address::80 Redirect.EntryPoint:https' --entryPoints='Name:https Address::443 TLS' volumes: - /var/run/docker.sock:/var/run/docker.sock:ro ports: - "0.0.0.0:80:80" - "0.0.0.0:443:443" - - "0.0.0.0:8080:8080" + - "127.0.0.1:8080:8080" networks: - internal