From 9d3945e1892caaaaee65337a0e3c0d5996c73e5c Mon Sep 17 00:00:00 2001 From: June Date: Mon, 25 May 2026 02:30:12 +0200 Subject: [PATCH] hamburg.ccc.de: redirect old no olympia url to new one for compatibility --- .../public-web-static/virtualHosts/hamburg.ccc.de.nix | 8 ++++++++ 1 file changed, 8 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 abbf5aa7..8b2177ca 100644 --- a/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix +++ b/config/hosts/public-web-static/virtualHosts/hamburg.ccc.de.nix @@ -99,6 +99,14 @@ return = "302 https://cloud.hamburg.ccc.de/apps/calendar/embed/QJAdExziSnNJEz5g"; }; + # Redirects for blog post edits. + locations."/blog/2026/05/23/der-ccchh-sagt-nein-zu-olympia-in-hamburg" = { + return = "302 https://hamburg.ccc.de/blog/2026/05/31/der-ccchh-sagt-nein-zu-olympia-in-hamburg/"; + }; + locations."/blog/2026/05/23/der-ccchh-sagt-nein-zu-olympia-in-hamburg/" = { + return = "302 https://hamburg.ccc.de/blog/2026/05/31/der-ccchh-sagt-nein-zu-olympia-in-hamburg/"; + }; + 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