Disallow access from MJ12bot
Disallow access from MJ12bot
Category:Web Server
Pub.date:2019-07-11
There was a sudden increase in access to the site, and the user agent from which it was accessed was as follows
Mozilla/5.0 (compatible; MJ12bot/v1.4.8; http://mj12bot.com/)
I checked the IP address and found that it was from the UK and not dangerous.
There was a lot of access to non-existent pages, and I decided to reject it because it was disturbing.
Deny setting in Nginx
Configure the following settings in nginx
if ($http_user_agent ~* (SemrushBot|AhrefsBot|Linguee|proximic|BLEXBot|GrapeshotCrawler|Mappy|MJ12bot|MegaIndex|bidswitchbot|SMTBot|ltx71|integralads|jet-bot|trendictionbot)) {
return 403;
}
Other data collection robots are also collectively excluded.
Source:
https://parudou3.com/nginx/818/
CONTENTS
JavaScript
Unreal Engine
CakePHP4
CakePHP4
Flutter
Flutter
Other
JavaScript
JavaScript
CakePHP4
Web Server
Photoshop
Unreal Engine
CakePHP4
Web Browser
Web Server
iOS
Android
Web Browser
CakePHP4
Plesk
Illustrator
Plesk
Web Server
Web Server
CakePHP3
Web Browser
CakePHP3
JavaScript
JavaScript
CakePHP3
CakePHP3