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