Filter gz files
This commit is contained in:
parent
58b92b4628
commit
1d093f3dfb
@ -5,6 +5,7 @@ const blackHole = function (req, res) {};
|
|||||||
router.all('(/*)?/wp-admin/', blackHole);
|
router.all('(/*)?/wp-admin/', blackHole);
|
||||||
router.all(/.*\.php$/, blackHole);
|
router.all(/.*\.php$/, blackHole);
|
||||||
router.all(/.*\.aspx$/, blackHole);
|
router.all(/.*\.aspx$/, blackHole);
|
||||||
|
router.all(/.*\.gz$/, blackHole);
|
||||||
router.all('(/*)?/wp-includes/(*)?', blackHole);
|
router.all('(/*)?/wp-includes/(*)?', blackHole);
|
||||||
router.all('/.git/*?', blackHole);
|
router.all('/.git/*?', blackHole);
|
||||||
router.all('/.env', blackHole);
|
router.all('/.env', blackHole);
|
||||||
|
Loading…
Reference in New Issue
Block a user