redirect old traefik domain
This commit is contained in:
parent
f3acfbb532
commit
3c5fe4ce9f
2 changed files with 6 additions and 1 deletions
|
@ -26,6 +26,6 @@ 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`))"
|
||||
- "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`))"
|
||||
- traefik.http.routers.redirects.tls=true
|
||||
- traefik.http.routers.redirects.tls.certresolver=letsencrypt
|
||||
|
|
|
@ -51,3 +51,8 @@ server {
|
|||
server_name git.pim.kunis.nl;
|
||||
return 301 https://git.kun.is$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
server_name traefik.pim.kunis.nl;
|
||||
return 301 https://traefik.kun.is$request_uri;
|
||||
}
|
||||
|
|
Reference in a new issue