public-web-static: redirect old hackertours 37C3 urls to proper url

This commit is contained in:
Stefan Bethke 2024-10-13 17:21:57 +02:00 committed by echtnurich
parent 905b7dd3ba
commit e2dc43ede9
Signed by: echtnurich
SSH key fingerprint: SHA256:1eIkxME0VPeXC2WMl9Haus+q0SLFymSAWU7f6Z+A8Aw

View file

@ -44,6 +44,11 @@ in {
real_ip_header proxy_protocol; real_ip_header proxy_protocol;
error_page 404 /404.html; error_page 404 /404.html;
port_in_redirect off;
rewrite ^/(de|en)/tours$ /$1/37c3 redirect;
rewrite ^/(de|en)/tours/(.*)$ /$1/37c3/$2 redirect;
''; '';
}; };
}; };