Redirect properly from wikis old to new domain
Make use of $request_uri redirect to the correct sub-page.
This commit is contained in:
parent
81c8bfe16b
commit
4363b3d040
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue