From 1d093f3dfbd245b687c6b08b11de31c6bdbad13f Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 21 Jun 2021 04:19:01 +0100 Subject: [PATCH] Filter gz files --- filterRoutes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/filterRoutes.js b/filterRoutes.js index 19209f1..7e9cb33 100644 --- a/filterRoutes.js +++ b/filterRoutes.js @@ -5,6 +5,7 @@ const blackHole = function (req, res) {}; router.all('(/*)?/wp-admin/', blackHole); router.all(/.*\.php$/, blackHole); router.all(/.*\.aspx$/, blackHole); +router.all(/.*\.gz$/, blackHole); router.all('(/*)?/wp-includes/(*)?', blackHole); router.all('/.git/*?', blackHole); router.all('/.env', blackHole);