redirect concourse.pim.kunis.nl -> ci.kun.is
This commit is contained in:
parent
ba44b31932
commit
548b3eb623
2 changed files with 6 additions and 1 deletions
|
@ -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`))"
|
- "traefik.http.routers.static.rule=(Host(`pim.kunis.nl`) || Host(`pim.kun.is`) || Host(`concourse.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
|
||||||
|
|
|
@ -21,3 +21,8 @@ server {
|
||||||
server_name pim.kunis.nl;
|
server_name pim.kunis.nl;
|
||||||
return 301 https://pim.kun.is$request_uri;
|
return 301 https://pim.kun.is$request_uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
server {
|
||||||
|
server_name concourse.pim.kunis.nl;
|
||||||
|
return 301 https://ci.kun.is$request_uri;
|
||||||
|
}
|
||||||
|
|
Reference in a new issue