From 82974dae028a627240ac0b673b4317807ecbc416 Mon Sep 17 00:00:00 2001 From: sHa Date: Mon, 30 Sep 2024 18:01:27 +0000 Subject: [PATCH] Update traefik configuration in compose.yml --- compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index 26baca7..18edd7a 100644 --- a/compose.yml +++ b/compose.yml @@ -21,9 +21,9 @@ services: labels: traefik.enable: true traefik.docker.network: apps-proxy - traefik.http.routers.catcher.entrypoints: websecure - traefik.http.routers.catcher.rule: Host(`$APP_URL`) + traefik.http.routers.catcher.entrypoints: web,websecure + traefik.http.routers.catcher.rule: Host(`$APP_URL`) || Host(`$APP_URL_2`) && !PathPrefix(`/.git`) traefik.http.routers.catcher.tls: true traefik.http.routers.catcher.tls.certresolver: letsencrypt traefik.http.services.catcher.loadbalancer.server.port: 8000 - + traefik.http.routers.catcher.middlewares: redirect-web-to-websecure@internal