add more redirections
This commit is contained in:
parent
548b3eb623
commit
3e985fd3cb
2 changed files with 21 additions and 1 deletions
|
@ -18,6 +18,6 @@ services:
|
|||
- traefik.enable=true
|
||||
- traefik.http.routers.static.entrypoints=websecure
|
||||
- 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.certresolver=letsencrypt
|
||||
|
|
20
nginx.conf
20
nginx.conf
|
@ -26,3 +26,23 @@ server {
|
|||
server_name concourse.pim.kunis.nl;
|
||||
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;
|
||||
}
|
||||
|
|
Reference in a new issue