I have that error, but I don't what why that. Anyone know how to fix it? Please help. Thank youby enginealt - Other discussion
I have tried using a code from a guy in github but it didn't work for me ## Add here all user agents that are to be blocked. map $http_user_agent $bad_bot { default 0; ~*^Lynx 0; # Let Lynx go through libwww-perl 1; ~*(?i)(httrack|htmlparser|libwww|JikeSpider|proximic|Sosospider|Baiduspider|msnbot|BBBike|WWWOFFLE|Widow|SuperHTTP|BlackWidow|HTTrack|Java|Pixray|CPython|Spinn3r|Abonti|MSIECrawlby enginealt - How to...
So the other file.config will be locate in the same folder as nginx.conf, is that right? or I can place anyelse where?by enginealt - How to...
Hi guys, I want to add a file call blacklist.conf into nginx.conf to block bad bot, how can I do it ? The blacklist.conf: ## Add here all user agents that are to be blocked. map $http_user_agent $bad_bot { default 0; ~*^Lynx 0; # Let Lynx go through libwww-perl 1; ~*(?i)(httrack|htmlparser|libwww|JikeSpider|proximic|Sosospider|Baiduspider|msnbot|BBBike|WWWOFFLE|Widow|SuperHTTP|BlackWidow|by enginealt - How to...
![]() |
![]() |
![]() |
![]() |
|