From 7ce5c934df9dac3024735d1e4f55b3eec81b93d5 Mon Sep 17 00:00:00 2001 From: June Date: Tue, 23 Jan 2024 19:57:20 +0100 Subject: [PATCH] Redirect old feed location to new one for CCCHH website --- .../hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix b/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix index 0f43a9d..bb78b63 100644 --- a/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix +++ b/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix @@ -63,6 +63,11 @@ return = "302 https://wiki.hamburg.ccc.de/club:geschichte"; }; + # Redirect old feed location. + locations."/feed.xml" = { + return = "302 https://$host/blog/index.xml"; + }; + extraConfig = '' # Make use of the ngx_http_realip_module to set the $remote_addr and # $remote_port to the client address and client port, when using proxy