From 0839e1fad950d1bbf90b8980937f9f30286b7416 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 14 Oct 2026 21:21:55 +0200 Subject: [PATCH] removed http router, https redirect handled by traefik --- docker-compose.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 0ba2513..dbb3b22 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,12 +8,7 @@ services: - 80 labels: - traefik.enable=true - ### Section HTTP - - traefik.http.routers.http-${TRAEFIK_ROUTER}.entrypoints=http - # redirect to HTTPS only - - traefik.http.routers.http-${TRAEFIK_ROUTER}.middlewares=http-to-https - - traefik.http.routers.http-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`) - ### Section HTTPS + # HTTPS - traefik.http.routers.https-${TRAEFIK_ROUTER}.entrypoints=https # configure the exposed service - traefik.http.routers.https-${TRAEFIK_ROUTER}.rule=Host(`${TRAEFIK_MATCHRULE}`)