From 55c2a09d5fd98907afd8bea43bd074ff113b6470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Mon, 7 Jan 2019 17:45:28 +0100 Subject: [PATCH] Add schedule redirect --- nginx/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 80fe657..e8dbed2 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -123,6 +123,10 @@ http { proxy_pass http://twitch-subs-api:5000/; } + location ^~ /schedule { + return 301 /#livestreams; + } + location ~ /\.ht { deny all; }