redirect swarm.pim.kunis.nl

This commit is contained in:
Pim Kunis 2023-07-12 18:18:51 +02:00
parent 6cc5128407
commit 74ca1138c5
2 changed files with 6 additions and 1 deletions

View file

@ -26,6 +26,6 @@ services:
- traefik.http.routers.redirects.entrypoints=websecure - traefik.http.routers.redirects.entrypoints=websecure
- traefik.http.routers.redirects.service=static - traefik.http.routers.redirects.service=static
- "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || 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`) || Host(`traefik.pim.kunis.nl`) || Host(`latex.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`))" - "traefik.http.routers.redirects.rule=(Host(`pim.kunis.nl`) || 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`) || Host(`traefik.pim.kunis.nl`) || Host(`latex.pim.kunis.nl`) || Host(`pihole.pim.kunis.nl`) || Host(`swarm.pim.kunis.nl`))"
- traefik.http.routers.redirects.tls=true - traefik.http.routers.redirects.tls=true
- traefik.http.routers.redirects.tls.certresolver=letsencrypt - traefik.http.routers.redirects.tls.certresolver=letsencrypt

View file

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