redirect uptime kuma domain

This commit is contained in:
Pim Kunis 2023-07-12 18:58:57 +02:00
parent 56742254f0
commit b57a600edd
2 changed files with 6 additions and 1 deletions

View file

@ -32,6 +32,6 @@ services:
- traefik.http.routers.redirects-local.entrypoints=localsecure
- traefik.http.routers.redirects-local.service=static
- "traefik.http.routers.redirects-local.rule=(Host(`traefik.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`) || Host(`swarm.pim.kunis.nl`))"
- "traefik.http.routers.redirects-local.rule=(Host(`traefik.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`) || Host(`swarm.pim.kunis.nl`) || Host(`uptime.pim.kunis.nl`))"
- traefik.http.routers.redirects-local.tls=true
- traefik.http.routers.redirects-local.tls.certresolver=letsencrypt

View file

@ -71,3 +71,8 @@ server {
server_name swarm.pim.kunis.nl;
return 301 https://swarm.kun.is:444$request_uri;
}
server {
server_name uptime.pim.kunis.nl;
return 301 https://uptime.kun.is:444$request_uri;
}