Ajout d'une règle pour ignorer les bots
This commit is contained in:
		@@ -32,5 +32,9 @@ http {
 | 
			
		||||
        error_page 502 /static/html/500.html;
 | 
			
		||||
        error_page 503 /static/html/500.html;
 | 
			
		||||
 | 
			
		||||
	if ($http_user_agent ~* "(?:acunetix|BLEXBot|domaincrawler\.com|LinkpadBot|MJ12bot/v|majestic12\.co\.uk|AhrefsBot|TwengaBot|SemrushBot|nikto|winhttp|Xenu\s+Link\s+Sleuth|Baiduspider|HTTrack|clshttp|harvest|extract|grab|miner|python-requests|Amazonbot)") {
 | 
			
		||||
	    return 444;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user