about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docker-compose.yml7
1 files changed, 7 insertions, 0 deletions
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