From 941352e14e2c9437fb6d52766d6fbab89eaf1e23 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 12 Jul 2023 18:44:52 +0200 Subject: [PATCH] fix redirects for internal ports --- docker-stack.yml.template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docker-stack.yml.template b/docker-stack.yml.template index 78c7769..df01f29 100644 --- a/docker-stack.yml.template +++ b/docker-stack.yml.template @@ -26,6 +26,12 @@ services: - traefik.http.routers.redirects.entrypoints=websecure - traefik.http.routers.redirects.service=static - - "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || Host(`concourse.pim.kunis.nl`) || Host(`rss.pim.kunis.nl`) || Host(`md.pim.kunis.nl`) || Host(`cloud.pim.kunis.nl`) || Host(`dav.pim.kunis.nl`) || Host(`git.pim.kunis.nl`) || Host(`traefik.pim.kunis.nl`) || Host(`latex.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`) || Host(`swarm.pim.kunis.nl`))" + - "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || Host(`concourse.pim.kunis.nl`) || Host(`rss.pim.kunis.nl`) || Host(`md.pim.kunis.nl`) || Host(`cloud.pim.kunis.nl`) || Host(`dav.pim.kunis.nl`) || Host(`git.pim.kunis.nl`)|| Host(`latex.pim.kunis.nl`))" - traefik.http.routers.redirects.tls=true - traefik.http.routers.redirects.tls.certresolver=letsencrypt + + - traefik.http.routers.redirects-local.entrypoints=localsecure + - traefik.http.routers.redirects-local.service=static + - "traefik.http.routers.redirects-local.rule=(Host(`traefik.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`) || Host(`swarm.pim.kunis.nl`))" + - traefik.http.routers.redirects-local.tls=true + - traefik.http.routers.redirects-local.tls.certresolver=letsencrypt