From 3bf5e522375282ccf23636eaba50000c9a017f8c Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 14 Oct 2026 21:21:52 +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 5435add..aaeb763 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,12 +51,7 @@ services: labels: - traefik.enable=${TRAEFIK_ENABLED} - traefik.docker.network=${TRAEFIK_NETWORK} - ### 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}.middlewares=hsts