From 677b0527c54139a2060e713bdf30927ad17dbd8f Mon Sep 17 00:00:00 2001 From: Philip Cheung Date: Mon, 7 Oct 2024 19:22:05 +0800 Subject: [PATCH] redirect --- docker-compose.traefik.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.traefik.yml b/docker-compose.traefik.yml index 886d6dc..90019f9 100644 --- a/docker-compose.traefik.yml +++ b/docker-compose.traefik.yml @@ -26,8 +26,8 @@ services: # Use the special Traefik service api@internal with the web UI/Dashboard - traefik.http.routers.traefik-dashboard-https.service=api@internal # https-redirect middleware to redirect HTTP to HTTPS - - traefik.http.middlewares.https-redirect.redirectscheme.scheme=https - - traefik.http.middlewares.https-redirect.redirectscheme.permanent=true + # - traefik.http.middlewares.https-redirect.redirectscheme.scheme=https + # - traefik.http.middlewares.https-redirect.redirectscheme.permanent=true # traefik-http set up only to use the middleware to redirect to https - traefik.http.routers.traefik-dashboard-http.middlewares=https-redirect # admin-auth middleware with HTTP Basic auth