fix redirects for internal ports

This commit is contained in:
Pim Kunis 2023-07-12 18:44:52 +02:00
parent 74ca1138c5
commit 941352e14e

View file

@ -26,6 +26,12 @@ services:
- traefik.http.routers.redirects.entrypoints=websecure - traefik.http.routers.redirects.entrypoints=websecure
- traefik.http.routers.redirects.service=static - 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=true
- traefik.http.routers.redirects.tls.certresolver=letsencrypt - 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