From 2644babf96059a097c268d991db523eae9822c40 Mon Sep 17 00:00:00 2001 From: mwinter Date: Fri, 10 Sep 2021 10:38:19 +0000 Subject: [PATCH] blocking bots from gitea and removing controls from upcoming --- nginx/vhost.d/gitea.unboundedpress.org | 3 +++ public/javascripts/global.js | 1 + 2 files changed, 4 insertions(+) diff --git a/nginx/vhost.d/gitea.unboundedpress.org b/nginx/vhost.d/gitea.unboundedpress.org index fae7d85..4afc7c2 100644 --- a/nginx/vhost.d/gitea.unboundedpress.org +++ b/nginx/vhost.d/gitea.unboundedpress.org @@ -11,3 +11,6 @@ location ^~ /.well-known/acme-challenge/ { location = / { rewrite ^ http://gitea.unboundedpress.org/mwinter/ redirect; } + +include /etc/nginx/bots.d/ddos.conf; +include /etc/nginx/bots.d/blockbots.conf; diff --git a/public/javascripts/global.js b/public/javascripts/global.js index 7ea6f7b..bd2c5c3 100644 --- a/public/javascripts/global.js +++ b/public/javascripts/global.js @@ -648,6 +648,7 @@ function populatePerformances(year, eventType, loadUpcoming) { loop:true, pauseOnHover: true, pager: true, + controls: false, dropOnHover:false, speed: 1000, pause: 5000,