From 4363b3d040c9e4b3257c0b5ded1f406f13b3c318 Mon Sep 17 00:00:00 2001 From: June Date: Mon, 22 Jan 2024 22:43:52 +0100 Subject: [PATCH] Redirect properly from wikis old to new domain Make use of $request_uri redirect to the correct sub-page. --- .../files/chaosknoten/configs/wiki/nginx/wiki.ccchh.net.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.ccchh.net.conf b/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.ccchh.net.conf index 43b7234..a564fc2 100644 --- a/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.ccchh.net.conf +++ b/playbooks/files/chaosknoten/configs/wiki/nginx/wiki.ccchh.net.conf @@ -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; }