fix redirects for internal ports
This commit is contained in:
parent
74ca1138c5
commit
941352e14e
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue