diff --git a/compose.yml b/compose.yml index 967f33d..8e5876b 100644 --- a/compose.yml +++ b/compose.yml @@ -28,7 +28,8 @@ services: #- traefik.constraint-label=proxy - traefik.http.routers.${STACK_NAME}-http.rule=Host(`${DOMAIN?Variable not set}`) - traefik.http.routers.${STACK_NAME}-http.entrypoints=web - - traefik.http.routers.${STACK_NAME}-http.middlewares=https-redirect + # Add https-redirect middleware from https://dockerswarm.rocks/traefik/ + #- traefik.http.routers.${STACK_NAME}-http.middlewares=https-redirect - traefik.http.routers.${STACK_NAME}-https.rule=Host(`${DOMAIN?Variable not set}`) - traefik.http.routers.${STACK_NAME}-https.entrypoints=web-secure - traefik.http.routers.${STACK_NAME}-https.tls=true