From 8b4b81acdf7cefc6c3e71137dba5b9e6ee2d9378 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Tue, 26 Feb 2019 11:52:57 +0100 Subject: [PATCH] Add redirect for wiki entries --- nginx/nginx.conf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e8dbed2..90dde3c 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -127,6 +127,14 @@ http { return 301 /#livestreams; } + location ^~ /specs { + return 301 /wiki/specs; + } + + location ^~ /commands { + return 301 /wiki/commands; + } + location ~ /\.ht { deny all; }