From d67f466f19ee48686f5e591923bc2a5ec8ca496a Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 9 Oct 2019 13:38:40 +0200 Subject: register https --- docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 44b7b0d..b101a50 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -48,6 +48,13 @@ services: - "traefik.enable=true" - "traefik.http.routers.register.entrypoints=web" - "traefik.http.routers.register.rule=Host(`register.${HOSTNAME}`)" + - "traefik.http.middlewares.register-https-redirect.redirectscheme.scheme=https" + - "traefik.http.routers.register.middlewares=register-https-redirect" + - "traefik.http.routers.register-secure.entrypoints=websecure" + - "traefik.http.routers.register-secure.rule=Host(`register.${HOSTNAME}`)" + - "traefik.http.routers.register-secure.tls=true" + - "traefik.http.routers.register-secure.tls.certresolver=mytlschallenge" + - "traefik.http.routers.register-secure.service=register" - "traefik.http.services.register.loadbalancer.server.port=8081" networks: - circus -- cgit 1.4.1