public-web-static: redirect old hackertours 37C3 urls to proper url
This commit is contained in:
parent
2fe65b0513
commit
de2390c78d
|
@ -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;
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue