redirect git domain

This commit is contained in:
Pim Kunis 2023-07-05 23:46:46 +02:00
parent 9aa60eb614
commit d54df85589
2 changed files with 6 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`) || Host(`rss.pim.kunis.nl`) || Host(`md.pim.kunis.nl`) || Host(`cloud.pim.kunis.nl`) || Host(`dav.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`) || Host(`git.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

@ -46,3 +46,8 @@ server {
server_name dav.pim.kunis.nl; server_name dav.pim.kunis.nl;
return 301 https://dav.kun.is$request_uri; return 301 https://dav.kun.is$request_uri;
} }
server {
server_name git.pim.kunis.nl;
return 301 https://git.kun.is$request_uri;
}