From ce98213be76b100dbce4234c13c08e19f3f77a89 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 14 Oct 2026 21:21:51 +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 44602dd..aa55db0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,12 +16,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