From ed00da9d9225b48d5c9ca4d69a16e259a9447eec Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Tue, 8 Oct 2024 15:55:32 +0800 Subject: [PATCH] fdsf --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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