Filter gz files

This commit is contained in:
Marcus Noble 2021-06-21 04:19:01 +01:00
parent 58b92b4628
commit 1d093f3dfb

View File

@ -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);