add more redirections

This commit is contained in:
Pim Kunis 2023-06-30 16:31:04 +02:00
parent 548b3eb623
commit 3e985fd3cb
2 changed files with 21 additions and 1 deletions

View file

@ -18,6 +18,6 @@ services:
- traefik.enable=true - traefik.enable=true
- traefik.http.routers.static.entrypoints=websecure - traefik.http.routers.static.entrypoints=websecure
- traefik.http.services.static.loadbalancer.server.port=80 - traefik.http.services.static.loadbalancer.server.port=80
- "traefik.http.routers.static.rule=(Host(`pim.kunis.nl`) || Host(`pim.kun.is`) || Host(`concourse.pim.kunis.nl`))" - "traefik.http.routers.static.rule=(Host(`pim.kunis.nl`) || Host(`pim.kun.is`) || 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`))"
- traefik.http.routers.static.tls=true - traefik.http.routers.static.tls=true
- traefik.http.routers.static.tls.certresolver=letsencrypt - traefik.http.routers.static.tls.certresolver=letsencrypt

View file

@ -26,3 +26,23 @@ server {
server_name concourse.pim.kunis.nl; server_name concourse.pim.kunis.nl;
return 301 https://ci.kun.is$request_uri; return 301 https://ci.kun.is$request_uri;
} }
server {
server_name rss.pim.kunis.nl;
return 301 https://rss.kun.is$request_uri;
}
server {
server_name md.pim.kunis.nl;
return 301 https://md.kun.is$request_uri;
}
server {
server_name cloud.pim.kunis.nl;
return 301 https://cloud.kun.is$request_uri;
}
server {
server_name dav.pim.kunis.nl;
return 301 https://dav.kun.is$request_uri;
}