From 62d2e6429aaeeac7589d4fb5306afcf3cd5b18f4 Mon Sep 17 00:00:00 2001 From: clerie Date: Wed, 22 Mar 2023 22:51:19 +0100 Subject: [PATCH] hosts/web-2: proper redirects for imprint --- hosts/web-2/blog.nix | 4 ++-- hosts/web-2/legal.nix | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hosts/web-2/blog.nix b/hosts/web-2/blog.nix index 331c80f..b553bba 100644 --- a/hosts/web-2/blog.nix +++ b/hosts/web-2/blog.nix @@ -9,10 +9,10 @@ return = ''301 https://clerie.de''; }; locations."/impressum" = { - return = ''301 https://legal.clerie.de/#impressum''; + return = ''301 https://legal.clerie.de/impressum''; }; locations."/datenschutz" = { - return = ''301 https://legal.clerie.de/#datenschutz''; + return = ''301 https://legal.clerie.de/datenschutz''; }; }; }; diff --git a/hosts/web-2/legal.nix b/hosts/web-2/legal.nix index 5fc6688..07c25f4 100644 --- a/hosts/web-2/legal.nix +++ b/hosts/web-2/legal.nix @@ -10,6 +10,12 @@ rev = "c6900226e3107a2e370a32759d83db472ab5450d"; sha256 = "sha256-lOjbHqYc/85rjotwQ5Oj+MSWnDIfLx2w5mpiJkChbXU="; }; + locations."/impressum" = { + return = ''301 https://legal.clerie.de/#impressum''; + }; + locations."/datenschutz" = { + return = ''301 https://legal.clerie.de/#datenschutz''; + }; }; }; }