Redirect properly from wikis old to new domain

Make use of $request_uri redirect to the correct sub-page.
This commit is contained in:
June 2024-01-22 22:43:52 +01:00
parent 81c8bfe16b
commit 4363b3d040

View file

@ -22,5 +22,5 @@ server {
# HSTS (ngx_http_headers_module is required) (63072000 seconds)
add_header Strict-Transport-Security "max-age=63072000" always;
return 302 https://wiki.hamburg.ccc.de/;
return 302 https://wiki.hamburg.ccc.de$request_uri;
}