From 242186894462d524b8d6fe58b22ebc18fb6c66a4 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 14 Oct 2026 21:22:15 +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 17c64d0..42294ee 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,12 +10,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