diff --git a/docker-compose.yml b/docker-compose.yml index ac33c0d..1426817 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,8 @@ services: - traefik.basic.allinone.rule=Host(`${DOMAIN?Variable not set}`) || Host(`www.${DOMAIN?Variable not set}`) - "traefik.basic.port=80" - "traefik.basic.protocol=http" - + - traefik.http.routers.allinone-https.middlewares=www-redirect + - traefik.http.routers.allinone-http.middlewares=https-redirect,www-redirect # Enable www redirection for HTTP and HTTPS # - traefik.http.routers.allAndOne-https.middlewares=www-redirect