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 June
parent 2fe65b0513
commit de2390c78d
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

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