Redirect old 37c3 urls to proper url #9

Merged
june merged 1 commit from hackertours-redirects into main 2024-10-13 21:01:31 +02:00
Showing only changes of commit de2390c78d - Show all commits

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

Stefan Bethke 2024-10-13 17:21:57 +02:00 committed by June
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;
'';
};
};