From b57a600edd533700965f865b8e23a481cea83324 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Wed, 12 Jul 2023 18:58:57 +0200 Subject: [PATCH] redirect uptime kuma domain --- docker-stack.yml.template | 2 +- nginx.conf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docker-stack.yml.template b/docker-stack.yml.template index df01f29..1ea6a83 100644 --- a/docker-stack.yml.template +++ b/docker-stack.yml.template @@ -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 diff --git a/nginx.conf b/nginx.conf index 0b6a11d..5328f79 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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; +}